[Samba] Sharing a directory owned by root

Mailer Daemon extremegroundmailer at gmail.com
Sun Nov 30 11:24:40 MST 2014

On 30/11/14 12:47 PM, Chris Stankevitz wrote:
> Hello,
> Question: Is it possible for samba to share the "foo" directory to
> guests read-only?
> /mnt/vol0/public/foo root:wheel 555
> /mnt/vol0/public/foo/bar1 guest:guest 777
> /mnt/vol0/public/foo/bar2 guest:guest 777
> /mnt/vol0/public/foo/bar3 guest:guest 777
> Answer:
> a) No, this is impossible because foo is owned by "root", yet you want
> the share visible to "guest"
> b) Yes, this is possible because foo has global read permission
> c) [your answer here]
> FYI in my application "foo" is actually a .zfs/snapshot and "bar" are
> the individual snapshots.
> Thank you,
> Chris
If I understand it correctly, you may have trouble sharing foo due to 
the ownership. However if you can share foo then you can assign the 
permissions you want to the share. They should override the Unix 

More information about the samba mailing list