Score:0

Changing ownership of external HDD

us flag

I have just added a 4TB external HDD to my systemand formatted it ext4. Root is the owner by default. I have tried to change the owner to adriaan using chown: Sudo chown -R adriaan /dev/sdb

When I use: ls -l /dev/sdb I get: brwxrwxrwx 1 adriaan disk 8, 16 Aug 8 16:55 /dev/sdb

However, If I got to "Properties" in "Files" the system states that Root is the owner. I had thought adriaan would now be listed as owner.

How do I change the owner to adriaan?

Paul avatar
us flag
What is the thing you are ultimately trying to accomplish here?
adriaan avatar
us flag
I would like, as owner, to be able to create directories and to copy other directories and files to the external HDD.
Paul avatar
us flag
Then `/dev/sdb` is not what you want to change. You probably will never change ownership of anything in `/dev/`. You just want to edit the files _on_ the device filesystem.
adriaan avatar
us flag
If I go to Files and attempt to create directories on the disk, the New Folder option is greyed out. i
Paul avatar
us flag
You may need to unmount and remove the drive, reconnect and remount, only because I'm not sure what changing the device permissions will mean, and that usually resets that sort of thing. Then see if one of these answers solves your problem: https://askubuntu.com/questions/90339/how-do-i-set-read-write-permissions-my-hard-drives
oldfred avatar
cn flag
Did you gpt partition your external drive? And what format are you using? Post this: `sudo parted -l`
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.