As soon as I add the declaration for server side copies I hit problems with disk permissions. Same as in 4.1.6 and always the same so I will not bother to add a log. If you follow http://wiki.samba.org/index.php/Setting_up_a_home_share But have vfs objects = btrfs declared all is different. You can add users and groups but the default Everyone, CREATOR GROUP and a Unknown you just can't delete them. As soon as you press apply then they are back again. Has anyone tried the above with BTRFS & vfs objects = btrfs? Stuart
David Disseldorp
2014-Apr-22 09:46 UTC
[Samba] 4.1.7 Server Side Copies & Disk Permissions
Hi Stuart, On Tue, 22 Apr 2014 09:41:16 +0100, Stuart Naylor wrote:> As soon as I add the declaration for server side copies I hit problems with disk permissions.FWIW, server-side copies are enabled by default since Samba 4.1.0. The vfs_btrfs module only changes how such requests are handled by the smbd file-server. For details, see https://wiki.samba.org/index.php/Server-Side_Copy> Same as in 4.1.6 and always the same so I will not bother to add a log. > > If you follow http://wiki.samba.org/index.php/Setting_up_a_home_share > > But have vfs objects = btrfs declared all is different. > > You can add users and groups but the default Everyone, CREATOR GROUP and a Unknown you just can't delete them. > > As soon as you press apply then they are back again.I expect this is due to the POSIX to Windows Access Control List mapping behaviour. The Owner, Group and Other entries are always present in a POSIX ACL. Samba maps these entries to NT ACL entries on retrieval. The vfs_btrfs module doesn't intercept ACL retrieval/manipulation requests, so you shouldn't see any difference from the default VFS in this regard. If you are seeing a difference, then please provide (level 10) debug logs and corresponding network traces taken with and without vfs_btrfs enabled. Cheers, David
** Skickat fr?n mobilusken! ** Den 22 apr 2014 10:41 skrev "Stuart Naylor" < stuartiannaylor at thursbygarden.org>:> > As soon as I add the declaration for server side copies I hit problemswith disk permissions.> > Same as in 4.1.6 and always the same so I will not bother to add a log. > > If you follow http://wiki.samba.org/index.php/Setting_up_a_home_share > > But have vfs objects = btrfs declared all is different. > > You can add users and groups but the default Everyone, CREATOR GROUP anda Unknown you just can't delete them.> > As soon as you press apply then they are back again. >I'm using LVM and mounted volumes for different shares. The only way I have found to be able to manipulate ACLs is to add acl_attr to the list of vfs objects to every share definition. Regards Davor> Has anyone tried the above with BTRFS & vfs objects = btrfs? > > Stuart > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba