Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Burning Software > Nero & InCD > Nero Linux


Commercial message



Nero Linux Discuss, Directory permissions/ownership on burned media at Nero & InCD forum; 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


Reply
 
Thread Tools
Old 29-09-2005   #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....
egreshko is offline   Reply With Quote
Old 29-09-2005   #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.
Axllent is offline   Reply With Quote
Old 29-09-2005   #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.
Bobmeister is offline   Reply With Quote
Old 29-09-2005   #4 (permalink)
CD Freaks Rookie
 
ccde's Avatar
 
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.
ccde is offline   Reply With Quote
 
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

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


All times are GMT +2. The time now is 10:46.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0