Re: [Samba] ownership of smbfs mounts
Thanks! Adding the uid and gid fixed it. M. D. Chappell wrote: On Wed, 2002-12-18 at 21:04, Hidong Kim wrote: If I put the mount statement into /etc/fstab as //windows1/public /home/windows1 smbfs username=me,password=pass 0 0 and then do 'mount -a' as root, the ownership of /home/windows1 changes to root:root. How can I put the mount command into /etc/fstab, and maintain me:users ownership of the mount point? Thanks, Try //windows1/public /home/windows1 smbfs username=me,password=pass,uid=uid,gid=gid 0 0 by uid & gid I mean the numbers not the names. Mark Chappell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] ownership of smbfs mounts
On Wed, 2002-12-18 at 21:04, Hidong Kim wrote: > If I put the mount statement into > /etc/fstab as > > //windows1/public /home/windows1 smbfs username=me,password=pass 0 0 > > > and then do 'mount -a' as root, the ownership of /home/windows1 changes > to root:root. How can I put the mount command into /etc/fstab, and > maintain me:users ownership of the mount point? Thanks, Try //windows1/public /home/windows1 smbfs username=me,password=pass,uid=uid,gid=gid 0 0 by uid & gid I mean the numbers not the names. Mark Chappell -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] ownership of smbfs mounts
Hi, I'm trying to mount Windows 2000 directories onto a Red Hat 7.2 machine. The Windows machine is windows1 and the Linux machine is linux1. I've created a shared folder on windows1 called public. As a normal user on linux1, I've created a directory /home/windows1 with ownership me:users. As the normal user, I can execute this at the command prompt: smbmount //windows1/public /home/windows1 -o username=me,password=pass The Windows directory gets mounted on /home/windows1, and the ownership of /home/windows1 is still me:users. If I put the mount statement into /etc/fstab as //windows1/public /home/windows1 smbfs username=me,password=pass 0 0 and then do 'mount -a' as root, the ownership of /home/windows1 changes to root:root. How can I put the mount command into /etc/fstab, and maintain me:users ownership of the mount point? Thanks, Hidong -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba