[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] bug?: uid of symlinks restored incorrectly
From: |
Naoki Takebayashi |
Subject: |
Re: [rdiff-backup-users] bug?: uid of symlinks restored incorrectly |
Date: |
Sat, 30 Jul 2005 11:39:13 -0800 (AKDT) |
Hi,
Actually, the owner of all symlinks get set to root after "restore",
regardless of the original owner of the target of the symlinks. In
other words, this happens even if the owner of the target file
(e.g. /home/joe/.bashrc) is 'joe'.
Naoki
On Sat, 30 Jul 2005, Keith Edmunds wrote:
Naoki Takebayashi wrote:
Note that the uid/gid is set to "root" instead of "joe".
I suppose that, technically, it could be considered a bug. However, the
actual permissions of a symlink are inherited from the target file, so it
will make little difference in real life. Do you have something that
explicitly relies upon the owner/group of symlinks (eg, a find(1) script or
similar)?
--
Keith Edmunds
+---------------------------------------------------------------------+
| Tiger Computing Ltd | Helping businesses make the most of Linux |
| "The Linux Company" | http://www.TheLinuxConsultancy.co.uk |
+---------------------------------------------------------------------+
Naoki Takebayashi <address@hidden>
Institute of Arctic Biology & Department of Biology and Wildlife
311 Irving I Bldg, University of Alaska Fairbanks, Fairbanks, AK 99775, USA
office: (907) 474-1178, WRRB 226
fax: (907) 474-6967