DO NOT REPLY [Bug 4793] New: link-dest hardlink does not always work well with -o -g -p

samba-bugs at samba-bugs at
Mon Jul 16 20:38:08 GMT 2007

           Summary: link-dest hardlink does not always work well with -o -g
           Product: rsync
           Version: 2.6.9
          Platform: PPC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: getarealname at
         QAContact: rsync-qa at

I recently rebuilt a file server. I noticed during the most recent backup that
hardlinks were not being used and I couldn't figure out why until I discovered
rsync will not hardlink if the uids/permissions do not match. Since the server
was reinstalled from scratch, the uid's no longer line up. Also if nothing
other than permissions on a file were changed, a new copy would be created.

I reconfigured rsync to avoid using -ogp and it is working OK.

I know rsync is being designed around an ext3 limitation, however I would
prefer if there was a way to force rsync to always hardlink and then force it
to chown,chmod the files. This would make a restore operation easier and still
allow access to data from the previous backups. One obviously would have to
accept that the permissions for previous backups might be changed since that
backup took place.

Does anyone else think this would this be a useful feature to have?

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list