Monday, April 29, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 8258  / 3 Years ago, wed, june 2, 2021, 3:21:57

I've got an external HDD (640 GB), with file system FAT32. I want to change the ownership of it from root (default) to angstrem (my username). The system is mounted to /media/exthdd. I try to do that by a command:



sudo chown -vR angstrem:angstrem /media/exthdd


and after that the system gives me an error:



chown: changing ownership of `/media/exthdd': Operation not permitted


If anybody knows, please tell me, how to change ownership of that HDD?


More From » external-hdd

 Answers
3

FAT doesn't support file ownership, so you need to specify the owner when you mount the device. You can do this by adding uid and gid options to your mount command.


[#39759] Friday, June 4, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
turhizz

Total Points: 82
Total Questions: 106
Total Answers: 96

Location: South Korea
Member since Mon, Dec 6, 2021
2 Years ago
turhizz questions
;