0

So I installed it on a dual-boot on my Main drive, with the intention of this space being for the os and a few programs as this is my SSD with less space. I went back later and used GParted to make another partition for stuff I want to install on ubuntu on another hard drive, I have done this, and now I'm back in Ubuntu but I can't do anything to the drive as the owner is root.

I've looked online for help with this but all I can find is how to edit individual files on a root drive. how do I permanently become the owner?

if relevant the file system type is ext3/ext4

Zanna
  • 72,312

1 Answers1

0

Hopefully the following will answer your question:

Change owner of internal hard drive partition from root to user

It says:

If the partition is called party, your user is called cyrex and it is in /media just do for example:

sudo chown cyrex:cyrex /media/cyrex/party -R (The R is for recursive so it affects all directory/files and subdirectory.

This would help you locate your drive:

How can I list the hard drive and all its partitions including size from terminal?

It says:

If you have an MBR partition table:

sudo fdisk -l

For both GPT and MBR partition tables:

?sudo parted -l

Aubs
  • 146