Mailinglist Archive: opensuse (929 mails)

< Previous Next >
Re: [opensuse] Backup .. restore ... access/ownership
On 2014-03-29 17:17, Carlos E. R. wrote:
On 2014-03-29 12:49, Anton Aylward wrote:
On 03/28/2014 11:01 PM, Carlos E. R. wrote:


Wait. You can keep all Linux filesystem attributes on a cdrom, if you
use the appropriate options.

You need to activate the Rock Ridge extensions, not Joliet (or both).

IIR This batch was done with RR not J.

Weird. Maybe k3b did something strange? I haven't done this in long time.

I'm trying it now. In properties of the project go to the filesystem
tab, select "rock ridge". Then and click on "custom" and click on
"preserve file permissions (backup)" .


I've had problems with J before,
re-naming files, converting " " to "_"[1] and other nonsense like that.

[1] nasty when you have both "file_long_name" and "file long name"

True.

I made a test. This is the original tree:

cer@Telcontar:~> tree -a -p -u -g -s -h k3b_test
k3b_test
├── [-rw-r--r-- cer users 0] .pepe
├── [-rw-r--r-- cer users 960] En un lugar
├── [-rw-r--r-- cer users 0] En un lugar~
├── [-rw-r--r-- cer users 0] España
├── [-rw-r--r-- cer users 0] José
├── [-rw-r--r-- cer users 0] juan
├── [-rw-r--r-- cer users 0]
long------------------------------------------------------------------------------------------------------------------------------------------------------------------------name
├── [-rw-r--r-- cer users 0] pe#pe
├── [-rw-r--r-- cer users 0] pe....pe
├── [-rw-r--r-- cer2 users 0] pePE
├── [-rw-r--r-- cer users 0] pepe
├── [-rw-r--r-- cer users 0] pepe.
├── [-rw------- cer users 0] pepe2
├── [-rw-r--r-- cer users 0] pepe~
├── [drwxr-xr-x cer users 17] test 1
│ └── [-rw-r--r-- cer users 0] pepe
└── [drwxr-xr-x cer users 17] test_1
└── [-rw-r--r-- cer users 0] pepe


and this is the tree on the mounted cd:

cer@Telcontar:~> tree -a -p -u -g -s -h k3b_test_mount/
k3b_test_mount/
└── [drwxr-xr-x cer users 4.0K] k3b_test
├── [-rw-r--r-- cer users 0] .pepe
├── [-rw-r--r-- cer users 960] En un lugar
├── [-rw-r--r-- cer users 0] En un lugar~
├── [-rw-r--r-- cer users 0] España
├── [-rw-r--r-- cer users 0] José
├── [-rw-r--r-- cer users 0] juan
├── [-rw-r--r-- cer users 0]
long------------------------------------------------------------------------------------------------------------------------------------------------------------------------name
├── [-rw-r--r-- cer users 0] pe#pe
├── [-rw-r--r-- cer users 0] pe....pe
├── [-rw-r--r-- cer2 users 0] pePE
├── [-rw-r--r-- cer users 0] pepe
├── [-rw-r--r-- cer users 0] pepe.
├── [-rw------- cer users 0] pepe2
├── [-rw-r--r-- cer users 0] pepe~
├── [drwxr-xr-x cer users 2.0K] test 1
│ └── [-rw-r--r-- cer users 0] pepe
└── [drwxr-xr-x cer users 2.0K] test_1
└── [-rw-r--r-- cer users 0] pepe

3 directories, 16 files
cer@Telcontar:~>



As you see, there is a file owned by another user, not all have the same
permission set, there are files with different case, names with a space
or an underscore, strange chars, very long names...


--
Cheers / Saludos,

Carlos E. R.
(from 13.1 x86_64 "Bottle" at Telcontar)

< Previous Next >
Follow Ups