[Samba] vfs_recycle permission bug?!

Marco Gaiarin gaio at sv.lnf.it
Wed Oct 16 16:19:36 UTC 2019


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

> Can you check this acl and attr are these installed? 

Sure! They are installed!

 root at vdmsv1:~# dpkg -l | egrep "a(cl|ttr)"
 ii  acl                                2.2.52-3+b1                        amd64        Access control list utilities
 ii  attr                               1:2.4.47-2+b2                      amd64        Utilities for manipulating filesystem extended attributes
 [...]


> chmod 1770 /srv/work/.cestino/

it was 1777, now done.


> Then set: 
>  	recycle:subdir_mode = 1700
>  	recycle:directory_mode = 1700

done. done also a 'systemctl reload smbd.service' and killed active
connection.
Removed '/srv/work/.cestino/gaio':
	rm -r /srv/work/.cestino/gaio

> I've not fully checked it, im to buzy with my builder atm. 
> But im sure its something like that. 

No, same result:

 root at vdmsv1:/srv/work/.cestino# ls -la gaio/
 totale 8
 drwxr-xr-x   3 gaio domain users   16 ott 16 18:17 .
 drwxrwx--T 107 root domain users 4096 ott 16 18:17 ..
 [...]

-- 
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