[Samba] ownership of smbfs mounts
M. D. Chappell
ee0mdc at NSLM.fsnet.co.uk
Wed Dec 18 22:39:00 GMT 2002
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
More information about the samba
mailing list