[Samba] share permissions

Donald W Watson dwatson at us.ibm.com
Tue Feb 14 22:11:51 GMT 2006






If I have a samba server with the following share:

      [share1]
            readlist    = user1
            path = /tmp/share1
            writelist = user2

On the surface this indicates that user1 can only read files in the share,
while user2 and read and write.  However:

1. If the share is mounted on another unix machine with "mount -t cifs"
what effect does "-o username=<some user> have on the read/write behavior
of files in the share?

2. What effect do unix ownership and permissions of the files in the share
have on read/write behavior of those files?  Does normal unix behavior
apply (e.g., a file in the share has rw permissions for root, so root can
write the file regardless of who mounted the share)?  What if root is the
file owner?

Sincerely,    Don Watson
Linux Technology and Solutions; Beaverton, OR
503-578-4861/TL: 775-4861; dwatson at us.ibm.com


More information about the samba mailing list