I mount a samba share using the following entry in /etc/fstab:
//server/share /mnt/share cifs username=bob,password=onion 0 0
The problem is that ALL new files created on this share are owned by user ‘bob’, including files that were created by ‘alice’.
Must the owner of a file created on a samba share always be the username specified when the share is mounted?
Didn’t want this one to get buried. No one knows?
big g 1 wrote:
> Must the owner of a file created on a samba share always be the
> username specified when the share is mounted?
IIRC, if you include the username and password in a persistent mount, all
file-based operations are performed as that user regardless of the local
If you need more flexibility with your mount points, you might take a look
at creating user-specific mounts and/or using the automount daemon to mount
menesofmemphis [at] gmail [dot] com
“Unity and humility is the lesson all of history teaches.”
Until I have the time to learn the automount daemon, I’ll just use user specific mounts in fstab. Thanks!!