I'm using Mint XFCE 20.3.
I own several USB sticks, most are FAT32 or NTFS formatted.
Now I got a new USB stick, which I re-formatted using EXT3 (the target device it's intended doesn't support EXT4).
XFCE automounts this stick now using root rights, so I'm not able to use it as normal user without manual re-mounting.
How can I fix this?
All my other USB sticks automount with user rights without any problems.
USB stick automounts as root instead of user
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
USB stick automounts as root instead of user
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: USB stick automounts as root instead of user
You created the partition with root privilege so root owns the partition.
You will need to change the owner and group to your username.
Find the mountpoint. It should be /media/username. If the partition is labeled it will show as that name.
Then:
chown -R $USER:$USER /media/username/label or id
substitute your username after /media/ In this example the command would be:
sudo chown -R $USER:$USER /media/uno/90B8-260E
You will need to change the owner and group to your username.
Find the mountpoint. It should be /media/username. If the partition is labeled it will show as that name.
Then:
chown -R $USER:$USER /media/username/label or id
substitute your username after /media/ In this example the command would be:
sudo chown -R $USER:$USER /media/uno/90B8-260E
Everything in life was difficult before it became easy.
Re: USB stick automounts as root instead of user
What did you use to reformat? Gparted? If so, next time try Disks to reformat.Now I got a new USB stick, which I re-formatted using EXT3
I think it will be owned by you if you use Disks.
Re: USB stick automounts as root instead of user
Yes, I used Gparted.
Thank you for the explanation, solution and how to prevent it in the future!
Thank you for the explanation, solution and how to prevent it in the future!