Page 1 of 1

Locked files?

PostPosted: Sun Jul 27, 2008 7:57 am
by Tango
I have to do a factory operating system restore on my wife's EeePc as it does not boot anymore due to lack of space on the flash memory. (Tries to boot, crashes, tries to boot, crashes etc)
I am trying to copy her files with an Ubuntu live disc. I would like to copy the .Mozilla file to try to restore bookmarks, Scrapbook etc. Unfortunately it and a few other files are locked and I cannot copy them. When I try to change permissions I get the message "You cannot change permissions. You are not the owner of the file." :x
Command line is not one of my strengths. Could somebody please tell me what exactly I have to write?
Thanx heaps in advance :)

Re: Locked files?

PostPosted: Mon Jul 28, 2008 6:18 am
by drama
try running the following command from terminal

Code: Select all
sudo nautilus


this will open the file browser with root/admin privledges. then you simply use that to browse for the files. other than doing this idk what the problem could be honestly.

hope this helps.

<BREW>

-drama

Re: Locked files?

PostPosted: Mon Jul 28, 2008 10:38 am
by DaddyX3
I'll post this publicly now that LeadFingers has approved the post. This is what I PM'd them to do:
Code: Select all
sudo chown -R your_user_name /home/user_name/.mozzilla

Same for any other hidden files you need to get coppied. Hope that helps ;)

For others that don't know how to access 'hidden' files...
A hidden file is one that has a '.' in front of the file-folder in nautilus. You can see them by hitting CNTRL+H or by going to 'view'>>'show hidden files'.

By entering the command "chown -R" you are changing ownership of the file in question and all recursive files/ folders within that folder. When you do this- the owner usually has all rights to the file and can do whatever you want to it.

Re: Locked files?

PostPosted: Tue Jul 29, 2008 5:01 am
by Tango
Thank you!! :D