rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [rdiff-backup-users] [PATCH] Preserve symlink permissions


From: Iain Dooley
Subject: Re: [rdiff-backup-users] [PATCH] Preserve symlink permissions
Date: Sun, 5 Nov 2006 10:34:51 +1100 (EST)



On Sat, 4 Nov 2006, Andrew Ferguson wrote:

Hi,

Some Unix systems (at least the *BSDs and Mac OS X) set the permission
bits on symbolic links to "777 - umask" at link creation. This is
different from Linux, where all symbolic links are mode 777.

This patch changes rdiff-backup's umask temporarily when it creates
symbolic links so that their exact permissions are maintained during
backup and restore. The patch is against the current CVS repository, but
should also work for 1.1.x and 1.0.x versions.

Although the permission bits seem to have no effect, I created this
patch so that rdiff-backup comes even closer to making a perfect backup
on BSD-like systems. It has been tested on Linux, Mac OS X, and during
network backup and restore.

that's great! as a FreeBSD user i greatly appreciate anything directed towards improving BSD performance :)

cheers

iain

Cheers,
Andrew

--
Andrew Ferguson - address@hidden






reply via email to

[Prev in Thread] Current Thread [Next in Thread]