Changing permissions on existing backup source
kmk at sanitarium.net
Wed Jan 1 11:12:41 MST 2014
-----BEGIN PGP SIGNED MESSAGE-----
The files will not be transferred but they will be stored separately
as new versions of the file even if the content is the same.
Permissions are per inode not directory entry so you can't have old
and new permissions without breaking the hard link relationship.
The easiest solution is to just do the same chmod on the most recent
backup before running the next backup.
On 01/01/2014 01:09 PM, Charles Marcus wrote:
> I have a system that currently uses rsync (via rsnapshot) with
> --link-dest enabled to backup our mail store...
> If I change the permissions on the source maildirs, will this
> cause everything to be transferred again? Meaning, will rsync see
> everything as 'modified', thus creating a new copy of the entire
> mail store on the backup target?
> Or will the newest backup directory just reflect the new
> permissions for the hardlinked files, without making new copies of
Kevin Korb Phone: (407) 252-6853
Systems Administrator Internet:
FutureQuest, Inc. Kevin at FutureQuest.net (work)
Orlando, Florida kmk at sanitarium.net (personal)
Web page: http://www.sanitarium.net/
PGP public key available on web site.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
-----END PGP SIGNATURE-----
More information about the rsync