lsetxattr() failed: Operation not permitted on symlinked locked directory

2010-11-11 Thread Nicola Vitacolonna
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

Re: lsetxattr() failed: Operation not permitted on symlinked locked directory

2010-11-11 Thread Nicola Vitacolonna
Sorry, somehow I have screwed up my previous message. In the end, I was asking 
whether the reported behaviour is reproducible and whether it is a bug. If not, 
how can I fix the problem?

Nicola
-- 
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