hard links question

Alex Farid Aliev alfarid23 at yahoo.com
Mon Feb 7 06:23:21 GMT 2005

this my scenario:
all commands are local

rsync -a file1 file2
cp -l file2 file3
chown some_other_existing_user:group file1
rsync -a file1 file2

now file2 and file3 are both hard links and
permissions are shared in  both, versus rsync creating
new file2.
Desired behavior is to create new file if permissions
have changed versus changing file2 in place.
Is there any workaround for this.
Thank you very much, 


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

More information about the rsync mailing list