FreeBSD permissions

3 posts / 0 new
Last post
itefix
Offline
Last seen: 4 days 4 hours ago
Joined: 01.05.2008 - 21:33
FreeBSD permissions

I read the FAQ at http://www.itefix.net/phpws/index.php?module=faq&FAQ_op=view&FAQ_id=13 but I'm still a bit in the dark.
I have a FreeBSD box that I'd like to be able to backup for disaster-recovery to my cwRsync server. Our tests using round-trip rsync showed that everything came back to the FreeBSD box being owned by user 400 and group 401.

Standard Posix permissions are fairly simple and I suspect that they can be properly emulated on Windows, but before I do a lot of experimenting I thought I'd see what the folks here have to say. Does anyone think that this could work?

itefix
Offline
Last seen: 4 days 4 hours ago
Joined: 01.05.2008 - 21:33
Re: FreeBSD permissions

Did you use permissions-related rsync options (-g,-o or -p) in your tests ? Rsync option -a includes all of those.

itefix
Offline
Last seen: 4 days 4 hours ago
Joined: 01.05.2008 - 21:33
Re: FreeBSD permissions

Thanks to recent achievements, rsync with the acl patch has been a viable alternative for cygwin environments as well.

--- Excerpt from the man page source:

(--acl | -A) option causes rsync to update the destination ACLs to be the same as the source ACLs. This nonstandard option only works if the remote rsync also supports it. Note also that an optimization of the ACL-sending protocol used by this version makes it incompatible with sending files to an older ACL-enabled rsync unless you double the --acls. This doubling is not needed when pulling files from an older rsync.

---

I have made an rsync-2.6.7/cygwin -1.5.19-4 executable containing the version 1.113 of the patch. It is called rsyncacl.exe and can be used for enhancing both full blown cygwin and cwrsync installations.

Unfortunately, I couldn't reproduce the updated man page (I don't have yodl2man in my environment, help?)

Rsyncacl.exe can be downloaded from http://prdownloads.sourceforge.net/sereds/rsync-2.6.7-acl.zip?download

Signatures:

MD5: 8720c251575ebfd97962b61c35c5cfe6 *rsync-2.6.7-acl.zip

SHA1: ddd53108e592fcbe2c516eaccdffefa6c4cde995 *rsync-2.6.7-acl.zip

Maybe, that helps to solve your problem.

Release announcements