LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 06: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, 09:14 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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



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 04:34 PM
How can i backup whole linux partition and file system ?? my-unix-dream Linux - Newbie 3 04-19-2005 09:11 PM
removing RH9 but keeping my ntfs partition bof Red Hat 6 12-25-2004 09:14 PM
Keeping /home partition with new installation Micro420 Linux - Newbie 6 10-31-2004 03:50 AM
numbers as file owners stabu Linux - General 3 04-27-2004 12:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:07 AM.

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
Open Source Consulting | Domain Registration