|Adam Zion on 18 Aug 2005 23:07:56 -0000|
I have two Mandrake linux boxes, one named Calvin, and the other Hobbes. The share is defined on Calvin as the following:
[Documents] comment = Adam's Documents path = /home/adam/Documents browseable = yes writeable = yes read only = no valid users = adam directory mask = 0777
All files set in the directory /home/adam/Documents are set at 777, owned by the user and group adam. When I mount this share from Hobbes, using the following command:
mount -t smbfs //calvin/Documents /mnt/calvin -o username=adam,password=*
After I do this, I have read-only permission when logged onto Hobbes as adam, but write permission when I su in as root. When I check ownership of all the files and directories in this directory (while logged onto Hobbes), ls -la tells me that root owns all the files, hence my inability to write to them as adam.
Any idea why mount is changing the effective permissions on this share? What concept am I missing here? User adam on Hobbes needs read-write access to this directory (the idea is that this Calvin is my NAS box). User adam exists as a samba user on Calvin, with the same password as I use for the same user on Hobbes.
Adam Zion, MCSE+I IT Support Specialist Senior Center for Clinical Epidemiology and Biostatistics Blockley Hall 103D
Borger King: Have it our way. Yours is irrelevant. ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug