-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels