[Samba] Samba4: s3fs sticky bit file ownership problem

steve steve at steve-ss.com
Mon Jun 18 05:34:03 MDT 2012


On 18/06/12 13:01, rfs wrote:
> Hi Steve,
>
> i think you could do this with a 'force group' directive in the share.
>
> [reports]
>          comment = reports
>          path = /sambashares/reports/
>          browseable = yes
>          public = no
>          writable = yes
>          # force user = ntadmin
>          # following line should force the group ownership
>          force group = staff
>          directory mask = 0770
>          create mask = 0660
>          write list = ntadmin @staff root
>
> regards,
> rfs

Hi and thanks for the suggestion.

That works fine with the s3 smbd filesever. Unfortunately, s3fs doesn't 
support that syntax right now. I'm sure it's only a matter of time though.

I wonder why the g+s on the underlying (ext4 with acl and user_xattr) 
filesystem doesn't do it?

Cheers,
Steve


More information about the samba mailing list