Score:0

sudo chown command fails to give ownership to user account

in flag

I have tried running sudo chown dendy /mnt/storage1/

which returns

chown: changing ownership of '/mnt/storage1/': Operation not permitted

I have also tried

sudo chmod 777 /mnt/storage1/

which does not return any errors however when I check the folder permissions it still shows root for the owner and group.

What can I do to allow my user "dendy" to be able to write files to and read from these directories?

oldfred avatar
cn flag
What format is storage1? Post this: `sudo parted -l`. If NTFS or FAT32, then Windows formats do not support Linux ownership & permissions. Those are set for entire partition by how you mount partition.
waltinator avatar
it flag
Explore your permission/ownership problems with `https://github.com/waltinator/pathlld`. A `bash` script to answer "Why can't I Read/Write that file?".
Dendy avatar
in flag
Well, the full output seems to exceed the maximum character length for a reply by a few thousand characters but I do see most of these drives are ntfs although I do have some that are just blank for that section. Am I able to mount them differently? I was able to write to them previously and I haven't changed the formatting of these external drives.
Paul avatar
us flag
@Dendy You can always post the output as an [edit](https://askubuntu.com/posts/1356608/edit).
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.