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