[Samba] vfs_recycle permission bug?!

Marco Gaiarin gaio at sv.lnf.it
Wed Oct 16 16:35:24 UTC 2019


Mandi! L.P.H. van Belle via samba
  In chel di` si favelave...

> But im sure its something like that. 

Oh, very interesting... save server, different share, different FS
(gluster) defined as:

 [FVG]
	comment = Regionale (FVG)
	kernel share modes = No
	map acl inherit = Yes
	path = /
	read only = No
	store dos attributes = Yes
	vfs objects = acl_xattr recycle full_audit glusterfs
	volume = FVG
	full_audit:failure = none
	full_audit:success = mkdir rmdir read pread write pwrite rename unlink
	full_audit:prefix = %S|%d|%I|%M|%u
	recycle:exclude = *.TMP,*.tmp,*.temp,*.o,*.obj,~$*
	recycle:versions = yes
	recycle:keeptree = yes
	recycle:repository = .cestino/%U
	glusterfs:volume = gv0

work as expected:

 root at vdmsv1:/srv/work/.cestino# ls -la /srv/fvg/.cestino/
 totale 20
 drwxrwxrwt 5 root     root         4096 mag 29 14:02 .
 drwxr-xr-x 6 root     root         4096 set 29 06:48 ..
 drwxr-xr-x 3 gaio     domain users 4096 mar  8  2018 gaio
 drwx------ 3 rossella domain users 4096 mag 29 14:03 rossella
 drwx------ 3 stefano  domain users 4096 lug 17  2018 stefano

GlusterFS 'gv0' is mounted locally into /srv/fvg for backup purpose,
but i've tried also samba access (eg, explorer on windows) and i've no
access to non-mine folder (as expected).

Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list