Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

accessing folder over samba, folder ownership problem

  • 21-04-2007 5:23pm
    #1
    Registered Users, Registered Users 2 Posts: 2,364 ✭✭✭


    I'm using sshfs to connect to a remote folder over the net. When I do this it sets the owner of the folders to 501, which means I can't access that folder over samba (which is the reason I'm doing this).

    Can anyone suggest a way to make the folder accessible over samba?
    chown me folder doesn't do anything.

    I'm using Ubuntu btw.


Comments

  • Closed Accounts Posts: 365 ✭✭ronanp


    Are you accessing the folder over samba from a linux machine? If so try something like:

    mount -t smbfs -o username=whatever,uid=501 //server/share /mnt/point


  • Closed Accounts Posts: 97 ✭✭koloughlin


    You could also try changing the umask of the user you're using to create the files. That will set the default file permissions for files created by that user. Once you figure out what your umask should be then you can put the command in the user's .bashrc file to ensure it is set each time that user logs in. umask 022 may be what you need. It will set the premissions up to be rw for the owner and r for everyone else.


Advertisement