[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] [bug #25684] Lost ownership data even when using --p
From: |
anonymous |
Subject: |
[Rdiff-backup-bugs] [bug #25684] Lost ownership data even when using --preserve-numerical-ids option |
Date: |
Mon, 23 Feb 2009 19:43:44 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.6) Gecko/2009020911 Ubuntu/8.04 (hardy) Firefox/3.0.6 |
URL:
<http://savannah.nongnu.org/bugs/?25684>
Summary: Lost ownership data even when using
--preserve-numerical-ids option
Project: rdiff-backup
Submitted by: None
Submitted on: Mon Feb 23 19:43:43 2009
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
It seems like rdiff-backup does not preserve uid:gid for each file even when
--preserve-numerical-ids its present. See this example:
address@hidden:~$ ls -al test
total 8
drwxr-xr-x 2 fmmarzoa devel 4096 2009-02-23 20:07 .
drwxr-xr-x 77 fmmarzoa fmmarzoa 4096 2009-02-23 20:07 ..
-rw-r--r-- 1 fmmarzoa devel 0 2009-02-23 20:07 testfile
I've a directory called "test" with uid:gid as fmmarzoa:devel, and a testfile
within the directory with same ownership. Now I backup it with:
address@hidden:~$ rdiff-backup --preserve-numerical-ids test test_backup
address@hidden:~$ ls -la test_backup
total 12
drwxr-xr-x 3 fmmarzoa fmmarzoa 4096 2009-02-23 20:07 .
drwxr-xr-x 78 fmmarzoa fmmarzoa 4096 2009-02-23 20:10 ..
drwx------ 3 fmmarzoa fmmarzoa 4096 2009-02-23 20:10 rdiff-backup-data
-rw-r--r-- 1 fmmarzoa fmmarzoa 0 2009-02-23 20:07 testfile
So in fact, ownership information has been lost. Obviously restoring just
doing a "cp test_backup test" will not recover the ownership data, but restore
command neither!:
address@hidden:~$ rdiff-backup -r now test_backup test
address@hidden:~$ ls -la test
total 8
drwxr-xr-x 2 fmmarzoa fmmarzoa 4096 2009-02-23 20:07 .
drwxr-xr-x 78 fmmarzoa fmmarzoa 4096 2009-02-23 20:12 ..
-rw-r--r-- 1 fmmarzoa fmmarzoa 0 2009-02-23 20:07 testfile
address@hidden:~$ rdiff-backup -V
rdiff-backup 1.1.15
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?25684>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [Rdiff-backup-bugs] [bug #25684] Lost ownership data even when using --preserve-numerical-ids option,
anonymous <=