Change the ownership of the Partitions in Ubuntu
When I was moving from Windows to Ubuntu I've faced this problem last week. I've formatted the Harddisk and installed Ubuntu 14.04. Then using GPartition I created parititions in the HDD. But I was unable to access the partitions except the one where Ubuntu is installed. When tried to create a new file there, it said that 'Access Denied'.
This is the method I've done to overcome the problem.
Run 'mount' in the terminal.
There is a line relevant to the partition you can not access.
It will be something like this:
It will be something like this:
......../dev/sda4 on /media/pasindu/Files
Here the term with red color is the mount-point of your partition. My parition is labeled as "Files" earlier using GParition by myself, if you haven't done such a thing, probably the label might be some type of code.
Note down that mount-point.
Then type the following command;
sudo chown -R <username>:<username> /<partition> <mount point>
ex: sudo chown -R pasindu:pasindu /media/Files
It will work hopefully :)
.png)

0 comments: