Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flags on symlinks not synced by fileflags.diff #6

Open
uroehm opened this issue Feb 12, 2023 · 0 comments
Open

flags on symlinks not synced by fileflags.diff #6

uroehm opened this issue Feb 12, 2023 · 0 comments

Comments

@uroehm
Copy link

uroehm commented Feb 12, 2023

The --fileflags patch does not support file flags on symlinks.

Environment: rsync 3.2.7 from Homebrew (Jan 2023), macOS 13.2, arm64

To reproduce (on macOS):

mkdir src dst
touch src/testfile
ln -s src/testfile src/testlink
chflags hidden src/testfile    
chflags -h nodump src/testlink
rsync -aN --fileflags src/ dst
ls -alO  src/   dst/
src:
total 0
drwxr-xr-x   4 testuser  staff  -      128 12 Feb 19:29 .
drwxr-xr-x@ 23 testuser  staff  -      736 12 Feb 19:29 ..
-rw-r--r--   1 testuser  staff  hidden   0 12 Feb 19:29 testfile
lrwxr-xr-x   1 testuser  staff  nodump  12 12 Feb 19:29 testlink -> src/testfile
dst:
total 0
drwxr-xr-x   4 testuser  staff  -      128 12 Feb 19:29 .
drwxr-xr-x@ 23 testuser  staff  -      736 12 Feb 19:29 ..
-rw-r--r--   1 testuser  staff  hidden   0 12 Feb 19:29 testfile
lrwxr-xr-x   1 testuser  staff  -       12 12 Feb 19:29 testlink -> src/testfile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant