Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a novice linux/Ubuntu user who is just discovering the joys of a lightweight, free software environment which gives control to the user.

To protect some of my data (photos) from the rigours of OS crashes/reinstallation etc. I have created a small storage partition on my primary hard disk using gparted at /dev/sda3 using the ext4 filesystem.

On startup the partition auto-mounts to /media/chris/photo storage. I can see the drive at this location, and in the Unity launcher.

The only problem is I have no permissions to use the 'drive' and hence cannot copy files into it, add folders or in fact do anything in the storage area. My question is how to I give myself permissions within my normal Ubuntu account to use it?

Best Regards,


share|improve this question

I found the the solution:

sudo chown -R chris /media/chris/Photo_Storage

(note - i had to change the partition name to make it work in terminal).

...or, more generally:

sudo chown -R myname.myname /media/data/

For those that don't know, sudo gives you root access on the next command. chown gives folder ownership to the named account.

share|improve this answer
Sorry, the correct generalisation of the command is: sudo chown -R user:group file – chrishooper78 Jun 16 '13 at 10:41
You can edit your answers (and questions) to correct or add something. – David Foerster Oct 15 '14 at 13:37

Try this. Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

sudo chmod u+w /media/chris/photo storage
share|improve this answer
No joy, unfortunately. If I go to 'properties' it still says "you are not the owner, so you cannot change these permissions." – chrishooper78 Jun 16 '13 at 10:27
Type sudo -i, and change the permissions, and see. – Mitch Jun 16 '13 at 10:50

Your Answer


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.