rsync windows acl

David de Lama david.delama at web.de
Thu Apr 16 11:40:14 GMT 2009


Hi @all!

I want to backup Windows files to a Linux Server including the Windows ACLs.

I found this at nabble.com
http://www.nabble.com/Rsync-windows-acls-td21205816.html

-------------------------------------------------------------------------------------------------
On Mon, 2008-12-29 at 09:54 -0700, Michael Chletsos wrote:
> Has rsync integrated windows acls into it yet?

No, and the main version probably never will as rsync targets primarily
unix-like systems.  Windows ACL support would be fair game for a
maintained patch that could be included in packagings such as cwRsync.

I know of three currently available options:

- If you want to back up ACLs in a way that can be restored but don't
need to actually apply them to the destination files, --fake-super is
supposed to be able to do this (though I'm not entirely clear on how it
works).

- Use rsync to copy the data and another tool such as RoboCopy to copy
the ACLs.  See:

http://lists.samba.org/archive/rsync/2007-October/018704.html

- Ask Srinivasa Battula <sbattula at ...> for his modified version
of rsync that supports Windows ACLs (based on a development snapshot of
2.6.9, unless it has been updated).

-- 
Matt 
--------------------------------------------------------------------------------------------------


My question is:
I first transfer the files with rsync and then using RoboCopy to transfer the ACLs.
Where exactly do robocopy copy the ACLs? In a different file?
Please help me understanding this.


Further I want to ask if this the following is up to date?
Found on
http://archives.devshed.com/forums/networking-100/i-need-rsync-acl-support-for-windows-2025405.html

------------------------------------------------------------------------------------------
There are two opportunities for information loss in the ACL conversion:

- PSIX ACLs support only read, write, and execute permissions. Thus,
aspects of Windows ACLs that cannot be represented by a combination of
read, write, and execute (often shown as "Special Permissions" in the
Windows ACL editor) will be lost.

- Rsync uses Unix-like UIDs and GIDs. To get Cygwin to convert
Windows users and groups to and from UIDs and GIDs in a meaningful
fashion, you must assign UIDs and GIDs to all the users on the system
in the /etc/passwd and /etc/group files. See the Cygwin page I linked
above for much more information. Additionally, if you are copying
from one machine to another, rsync gives you the option to preserve
users and groups by UID/GID or by Cygwin name (which may or may not
match the Windows name depending on how you did /etc/passwd and
/etc/group); see rsync's option.

--
Matt
---------------------------------------------------------------------------------------------

Thanks a lot for answering!

Greetings,
David
__________________________________________________________________________
Verschicken Sie SMS direkt vom Postfach aus - in alle deutschen und viele 
ausländische Netze zum gleichen Preis! 
https://produkte.web.de/webde_sms/sms





More information about the rsync mailing list