Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I recently backed up the home partition of my hard drive, using an Ubuntu LiveCD and GParted.

Now every time I navigate to the partition a little padlock icon appears in the corner of the file/folder, and the only way to access the file is to use Nautilus as the superuser.

share|improve this question
add comment

2 Answers

  • Start nautilus as super-user
  • Right-click on said folder
  • In the pop-up menu select "Properties"
  • In the "Properties" dialogue select the tab called "Permissions"
  • In the "Permissions" tab make sure that the Owner of the folder is you and that you have read/write access
  • Than click "Apply Permissions to Enclosed Files"

Note: It also doesn't hurt to set the right Group here. You can do the same in the shell by typing:

sudo chown -R username:group /path/to/folder  # substitute your username and group for
sudo chmod -R ug+rw /path/to/folder           # "-R" means recursive - it will be applied to subfolders and files therein

Permissions Tab in Folder Properties

share|improve this answer
add comment

Access home folder as superuser via terminal and then change owner with chown

share|improve this answer
1  
Your answer would be more helpful, if you were to edit it to explain in detail how to do this (with the exact commands used to do it). Also, are these really separate steps? Why not just run a single chown -R ... command with sudo? –  Eliah Kagan Jun 3 '12 at 17:15
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.