Skip to content
This repository was archived by the owner on May 20, 2026. It is now read-only.
This repository was archived by the owner on May 20, 2026. It is now read-only.

flags on symlinks not synced by fileflags.diff  #6

@uroehm

Description

@uroehm

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions