No permissions on new partition.

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,

Chris


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.