I just bought a new SATA disk that I've now formated into ext4 using gparted. When I ran Gparted, I ran it as root. Now, I can't write files to the drive because I'm not the owner of the drive.
The drive has a folder called lost+found . I'm primary going to store virtual machines on the drive.
Now my question is the following; What is the best way (most secure?) to make me the owner of the drive without "destroying" the permissions on the drive (I'm thinking of the lost+found folder).
Thanks in advance!
Best Answer
If you have root access then fire up your terminal and write
Now mount your HDD (if not already mounted). And type
And now you're done!
It is generally a good practice to mount your HDDs in the
/media
or/mnt
directory.