LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-14-2005, 07:06 PM   #1
Sledge
Member
 
Registered: Nov 2003
Distribution: Fedora Core 6
Posts: 76

Rep: Reputation: 15
Backup partition keeping file owners the same


I want to backup my /home partition to CD. I've tried using K3B and the built in CD burner in FC3. Both times it saved the files but it changed the owner/permissions on all of the files. One way changed the owner of all of them to the user account I was logged in with, the other way made the owner root. I'm sure there has to be a way to do this but it is eluding me. Any help? Thanks.
 
Old 05-14-2005, 10:14 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,275

Rep: Reputation: 370Reputation: 370Reputation: 370Reputation: 370
Generally, I tar up the files with the -p switch, which tells tar to preserve permissions. Obviously you need to be root to do this.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Reinstalling Slackware, keeping partition davidsrsb Slackware 3 08-02-2005 05:34 PM
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 10:11 PM
removing RH9 but keeping my ntfs partition bof Red Hat 6 12-25-2004 10:14 PM
Keeping /home partition with new installation Micro420 Linux - Newbie 6 10-31-2004 04:50 AM
numbers as file owners stabu Linux - General 3 04-27-2004 01:29 PM


All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration