post transfer script for forcing perms

Nico -telmich- Schottelius nico-rsync at schottelius.org
Mon Nov 19 10:29:52 GMT 2007


Eric S. Johansson [Sun, Nov 18, 2007 at 12:40:31AM -0500]:
> [correcting permissions]

I suggest you to use ACLs on Linux, so permissions are always correct.

Especially default ACLs are pretty well supported by Linux, so you can
do things like

   setfacl -m d:g:yourgroup:rwx -R .

   and to specify the ACL-mask
   
   setfacl -m d:m:rwx -R .

   And to set ACLs on already created files / directoryies:

   setfacl -m g:yourgroup:rwx -R .
   setfacl -m m:rwx -R .

Makes like much easier and does not need any manual (or automatic
manual) action.

Sincerly

Nico

P.S.: You could otherwise also synchronise Unix-accounts with
      Windos-Accounts,  though this is much more work.

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/rsync/attachments/20071119/b9fc3bb5/attachment.bin


More information about the rsync mailing list