[Samba] Share migration
Marco Gaiarin
gaio at sv.lnf.it
Tue Jun 25 14:23:29 UTC 2019
Mandi! Edouard Guigné via samba
In chel di` si favelave...
> Is there a linux command to reset all the acls on a folder tree (and files)
> ?
AFAIK dump of ACL via 'getfacl' save it in descriptive form (login, not
UID), so you can restore on dest server.
But, again AFAIK, also rsync with --acls transfer ACLs in
'descriptive'' form, so ACL of user gaio in server A (UID=100) became
correctly ACL of user gaio in server B (UID=1000).
Clearly, if you have changed UID *AND* login names...
--
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