[Samba] GlusterFS, move files, Samba ACL...

Rowland Penny rpenny at samba.org
Mon Aug 28 14:23:06 UTC 2023


On Mon, 28 Aug 2023 15:34:13 +0200
Marco Gaiarin via samba <samba at lists.samba.org> wrote:

> 
> A little strange things, but i'm hitting my head on the wall...
> 
> 
> I needed to 'enlarge' my main filesystem (XFS backed-up), that
> contain my main samba share and a brick for a GFS share; i've setup a
> new volume (for the VM), formatted XFS, move all the file taking care
> to umount and stop GFS (so, syncing the brick, not the GFS
> filesystem) using --acls and -attrs rsync options.
> 
> All went well, all the share work as expected, apart the GFS one:
> folder appears with correct permission, files are not accessible from
> samba; i've tried from a unix user in console and works as expected.
> 
> If (from windows) i create new files, permissions are OK. Only
> preexistent files (files, not folders!) are inaccessible.
> 
> In samba the share is:

I wish people wouldn't do this, if you are going to post a share,
please post the global section as well.

> 
>  [FVG]
> 	comment = Regionale (FVG)
> 	volume = FVG
> 	path = /
> 	browseable = yes 
> 	writeable = yes  
> 	map acl inherit = yes
> 	store dos attributes = yes
> 	inherit permissions = yes
> 	vfs objects = recycle full_audit glusterfs

Do you have a 'vfs objects' line in global with 'acl_xattr' in it,
because if you have, the line above turns it off.
 
> 	glusterfs:volume = gv0
> 	kernel share modes = no
> 	recycle:repository = .cestino/%U
> 	recycle:keeptree = yes
> 	recycle:versions = yes
> 	recycle:exclude=*.TMP,*.tmp,*.temp,*.o,*.obj,~$*
> 	full_audit:prefix = %S|%d|%I|%M|%u
> 	full_audit:success = mkdir rmdir read pread write pwrite
> rename unlink full_audit:failure = none
> 
> 
> gluster version 3.8.8-1+deb9u1, samba version
> 4.10.18+dfsg-0.1stretch1 .

I have to ask, why are you still using Debian stretch ?
Hasn't anyone told you it is now EOL ?

Rowland



More information about the samba mailing list