Page 1 of 1

External HD Issues

Posted: Mon Jul 22, 2019 12:50 am
by BigH
I visited this forum a week or two ago to get an XHD issue fixed. The fix worked fine. Thanks. Today, same XHD, new problem.

Running Linux Mint 19.0 Cinnamon. After my last fix I could read my files and access them but as it was late in the day for me, I shut my XHD down for another day. Today, I connected my new XHD to my Acer laptop and all the files appeared, and were accessible, but I could not write to the drive. Finally, I discovered that all permissions had been stripped from me - no permission to write. In exasperation, I reformatted the XHD into FAT32 (NTSB was another choice), thinking that this action would restore my permissions. NO such luck.

How do I restore the permissions of my new XHD so that I have complete control of the HD in All activities?

Thanks, Big H

Re: External HD Issues

Posted: Wed Jul 24, 2019 2:53 pm
by SprinterDriver
You wiould want to take ownership of the drive.

How did you create the partition? If you did use Gparted for inscance, tha need to run as root and therefore normally only root have access to it.

To take ownership you should run:

Code: Select all

sudo chown -R bigh /media/bigh/whatevernameyougavethispartition
I put your username, and you change it for whatever username you're logged in as - and the name of the partition as well.

Re: External HD Issues

Posted: Wed Jul 24, 2019 6:00 pm
by ajgreeny
You can not set permissions for a fat32 drive using chown or chmod; you will have to either allow the system to mount it automatically which will give it correct permissions, or set the mount options in the /etc/fstab file if it is mounted at boot up, and is always connected.

See ... -partition for lots more detail.

Re: External HD Issues

Posted: Thu Jul 25, 2019 2:04 pm
by jglen490
Is it really necessary to format the drive with NTSB or FAT? If you are not sharing the drive with Windows, it is unnecessary and just use ext4.