• Check it out - we have a chatbot! Go ask TuxBot a question in the Ask Tuxbot section!

Changing ownership on USB - using chown

Status
Not open for further replies.
OP
A

anneranch

Active Member
Joined
Mar 16, 2019
Messages
223
Reaction score
43
Credits
2,078
I have used the following to change ownership from "root" to "qw"


[email protected]:~$ sudo chown qw: /dev/sdi1

I received no error, however, file manager ( Ubuntu 21.04) still reports the owner as "root" .
What am I doing wrong ?
 


Condobloke

Well-Known Member
Joined
Apr 30, 2017
Messages
5,901
Reaction score
4,908
Credits
36,880


Fanboi

Well-Known Member
Joined
Apr 16, 2021
Messages
499
Reaction score
409
Credits
6,114
So all of this because the USB stick I used was in some faulty state and none of the software using it could give expected and solid results - with an exception of lsusb.
Let's see how next one will behave.
Unfortunately, it's not that simple. Most of the software is just a frontend for a collection of smaller core utilities and kernel API calls.
The reason lsusb works is because it doesn't try to read it as a block device, only as a USB device. All it gleans is what the product ID's itself as. It's only if ya try to read it that problems begin.
 
Status
Not open for further replies.
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Top