Hi,
I am using rsync 3.0.7 from MacPorts under Mac OS X 10.6.4. I am getting the
error in the subject in the presence of a symlinked and locked directory with
an extended attribute. To reproduce:
mkdir src
mkdir dst
mkdir src/dir-with-ea-and-uchg
./xattr-util --set mamma.mia How about a nice pizza? src/dir-with-ea-and-uchg
cd src
ln -s dir-with-ea-and-uchg/ symlink-to-dir
chflags uchg dir-with-ea-and-uchg/
cd ..
rsync -avNHAX --fileflags --force-change src/ dst
xattr-util is a utility that I have found at
http://www.bombich.com/groups/ccc/wiki/7ba51/, but any method to add an
extended attribute will do. This is the output:
sending incremental file list
./
symlink-to-dir - src/dir-with-ea-and-uchg/
dir-with-ea-and-uchg/
rsync: rsync_xal_set: lsetxattr(dir-with-ea-and-uchg,mamma.mia) failed:
Operation not permitted (1)
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html