| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Sep 2005
Posts: 1
| Directory permissions/ownership on burned media I'm wanting to do backups of some of my directories under my home directory. However, after burning the DVD all the directories and sub-directories on the mounted media are owned by root with 555 permissions. The files have retained their ownership and permissions correctly. There doesn't seem to be a setting in NeroLinux to fix this? I'm running the latest version of RHELv4. Thanks.... |
| | |
| | #2 (permalink) |
| CD Freaks Junior Member Join Date: May 2005 Location: Rotterdam
Posts: 56
| Re: Directory permissions/ownership on burned media Try fist creating a tar backup of these directories, and burning that. `tar` maintains the file permissions and owners (for more information `man tar`). DVD's/CD's themselves don't have the capability of doing directly what you want. |
| | |
| | #3 (permalink) |
| CD Freaks Junior Member Join Date: Mar 2005 Location: Mt.Prospect, ILLINOIS
Posts: 80
| Re: Directory permissions/ownership on burned media Also, no matter what the "permissions" are on the files mounted on the cd drive, if the USER retransvers them to his home directory, it's been my experience that he will be the owner of the files transfered and the permissions should be normal for "you" (user) read and write (maybe execute, depending on the type of file).... Check it out...should work fine. Just don't transfer as root or root will be assigned. |
| | |
| | #4 (permalink) |
| CD Freaks Rookie Join Date: Apr 2003 Location: Germany
Posts: 45
| Re: Directory permissions/ownership on burned media If you really want to archive files with the ownership you assigne to them open up a shell and create a tar archive. To archive your home directory you could type something like this: tar cvjf myhomedir_sept29th05.tbz /home/myhomedir The options of tar are quite simple: c = create an archive v = verbose mode, shows what tar does while it works j = bzip2 compression, you can use z as well for old gzip f = file to write the archive to, f has to be the last option followed by an archive name When you extract the archive with tar xvjf (or xvzf with gzip compression) myhomedir_sept29th05.tbz your original ownership, grouprights, special bits and so on are restored in their original ways. Be careful if you extrtact the archive anywhere else and try to copy the files over to your home dir. The copy command usually assigns new rights to a file depending on the vaule of your umask. But cp has an option to prevent this, ith should be something like --preserve=ATTRIBUTES.... you better read the manpage since I am not sure at the moment. ![]() |
| | |
| |
| |
![]() |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| File permissions | samo1968 | Nero Linux | 0 | 25-06-2006 13:32 |
| DVD Decrypter & Macrovision ownership | goober22 | Copy Movie | 6 | 27-11-2005 11:31 |