To whom it may benifit,
an rsync backup is likely not to have symlink targets at
the pointed locations in many cases.
They can be duplicated faithfully to the destination and
end up pointing at nothing on the destination filesystem.

if the target is within the rsync duplicated tree, permissions
should be set directly on the target without following a symlink
Which can quite often point at nothing, which would be normal and expected.

Don't set permissions using symlinks, if the target will be created later in the destination tree, permissions will be set directly.

since it would be normal for symlinks to point outside the
duplicated tree, just as likely the symlink could point at nothing, but to faithfully duplicate the tree broken symlinks need to be created anyway.

The broken symlinks will no longer be broken after the backup gets restored back to the original source location.

Cheers !
Ray.


Hello,
This looks like the symlink-permission regression fixed by the following 
commit: 
https://github.com/RsyncProject/rsync/commit/ea645201fefbba7f6b6b22b621856dba3c01cdd3
Rsync 3.5.2 can report "Operation not supported" when preserving symlink 
permissions on systems which cannot change them. The fix restores the previous behaviour 
without changing the symlink target's permissions.
Please send ls -ld output for one affected entry at both ends and the receiving 
server's OS so we can confirm this is the same issue. Since your command pushes 
to a daemon, the fix needs to be installed on the receiving server.
I have contacted distribution maintainers about backporting the fix; of which 
Arch and pkgsrc have confirmed backports. I also expect to update the project 
PPAs relatively shortly, once access is corrected.
Regards,
Zen Dodd
On Sunday, November 8th, 2026 at 10:13 PM, 'Ray via rsync' via rsync-maintainers 
<[email protected]> wrote:

  rsync-3.5.2   has permission duplication problem
  Same scripts used for many years
rsync: [generator] failed to set permissions on
“/n64/16d9/data2/slackware/rayslt/src/ntfsprogs-1.13.1/libntfs/.libs/libntfs.so.9”
(in SAS4d3b): Operation not supported (95)
  a flowing scroll of these errors
  Reversion to last sec patch update rsync-3.2.7 made the problem go away
  Rsync is broken if it cant do permissions properly
example of a small section of rsync scripts
   if [ ! -d /rtvol/16t/16d9/lost+found ] ;  then
         echo "16d9 lost+found missing"
         exit 1
   fi
   echo " SAS4d3b slackware"
   echo " SAS4d3b slackware" >> /tmp/rsync.log
   rsync -rlptgoxHDWv --progress --delete --log-file=/dev/null   \
   --exclude='*lost+found'                                       \
   --exclude='data1/downloads/torrent/*'                         \
   /rtvol/16t/16d9/data2/slackware/                              \
   xeon4ib0.nop10.net::SAS4d3b/n64/16d9/data2/slackware/

--
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
--
You received this message because you are subscribed to the Google Groups 
"rsync-maintainers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion, visit 
https://groups.google.com/d/msgid/rsync-maintainers/77381bb8-a709-b4e6-c605-9e9bbbaabde5%403822.org.




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

Reply via email to