LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   User owns everything in samba share (https://www.linuxquestions.org/questions/linux-software-2/user-owns-everything-in-samba-share-386464/)

ZeroFill 11-25-2005 12:37 PM

User owns everything in samba share
 
I've tried to search for this but couldn't come up with a solution. The closest I've come across is switching to NFS to retain file permissions/ownership leading me to believe this is by design.

Anyways, whenever I smbmount the Samba shares on my desktop, the user that performed the mount will get total ownership. The mounted Samba share doesn't show owner/group as it shows on the server itself. Is there a way around this?

Using Samba v3.0.14a-2
Both computers FC4

david_ross 11-26-2005 07:13 AM

The smb protocol doesn't account for posix style permissions. On the samba side you can keep the permissions consistent by setting the sticky bit on the directories and setting the appropriate masks in smb.conf for files and directories.


All times are GMT -5. The time now is 10:19 PM.