[Samba] how to reset home directory ACLs?
mueller at tropenklinik.de
Thu Jul 17 00:33:46 MDT 2014
The best way Use a windows client:
EDV Daniel Müller
Tel.: 07071/206-463, Fax: 07071/206-499
eMail: mueller at tropenklinik.de
Von: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org] Im
Auftrag von Lorenzo Faleschini
Gesendet: Mittwoch, 16. Juli 2014 17:20
An: samba at lists.samba.org
Betreff: [Samba] how to reset home directory ACLs?
I'm migrating an old samba3 domain to a new domain with samba4 (1 DC +
1 Fileserver + other members)
I've imported all users trough a script with samba-tool, sucessfully mapped
UID and GID on all machines using winbind, then I started rsyncing the old
server shares to the new fileserver.
rsync -rltmvh --delete-after --exclude=.recycle /OLDSERVERSHARE
now, maybe in the old fileserver there where some screwed permissions (as I
inherited it from previous IT who left).
chmod -R -c 770 /NEWSERVERSHARE
chown -R -c administrator:"domain users" /NEWSERVERSHARE
and with this I'm able to manage it trough RSAT and set correct permissions
to the majority of shares.
I have still an issue with home folders.
many files are readonly for the users but if they copy and paste they can RW
access the copy.
If I check ACL permissions of those RO files I see they don't have the
permission for the user that is supposed to be the owner.
is there a way I can recursively and easily fix ACLs on the homes folders
maybe a new rsync run with some other parameter to fix acls as theyre
supposed to be in destination?
thanks in advance for your suggestions
IT Manager @ Nord Est Systems srl
m: +39 335 6055225 | skype: falegalizeit
To unsubscribe from this list go to the following URL and read the
More information about the samba