Restore backed-up files after fresh FC12/Amahi5 install
Posted: Thu Dec 17, 2009 5:45 pm
Background:
I have a couple hundred Gigs of data that I backed up from /var/hda/files on my FC10/Amahi4 hda before doing a fresh install of FC12/Amahi5.
I backed up with the following (as root):
I have already started to copy the data back in the same way with the following command (as root).
*Note that I backed up the entire /var/hda directory, but am only restoring /var/hda/files.
The Problem:
I'm pretty sure I overwrote the /files directory found in /var/hda so that now the /files directory is owned by root. I need to be sure the new /var/hda/files directory has correct permissions and ownership after I copy the files back.
The Questions:
1. Should /files be owned by root or apache?
2. What permissions should be set for /files
3. Which user should own the contents of /files (subdirectories)?
4. What permissions should be set for the contents of /files (subdirectories)?
Thanks,
greenstar
I have a couple hundred Gigs of data that I backed up from /var/hda/files on my FC10/Amahi4 hda before doing a fresh install of FC12/Amahi5.
I backed up with the following (as root):
Code: Select all
cp -a /var/hda /media/my_external_hd/Amahi
Code: Select all
cp -a /media/my_external_hd/Amahi/hda/files /var/hda
The Problem:
I'm pretty sure I overwrote the /files directory found in /var/hda so that now the /files directory is owned by root. I need to be sure the new /var/hda/files directory has correct permissions and ownership after I copy the files back.
The Questions:
1. Should /files be owned by root or apache?
2. What permissions should be set for /files
3. Which user should own the contents of /files (subdirectories)?
4. What permissions should be set for the contents of /files (subdirectories)?
Thanks,
greenstar