7
7
7761662019-08-09 17:26:58
linux
776166, 2019-08-09 17:26:58

How to mount USB devices with 666 permissions in Ubuntu Desktop?

There is an Ubuntu Desktop and a USB token.
It is mounted with 600 permissions, so it is impossible to reach it on behalf of the user, although anyone can see it perfectly, but I can’t read / write anything. Root has no problems. Manual exposure of the rights 666 on /dev/-hidraw1helps.
Did

echo 'SUBSYSTEM=="usb", MODE="0660", GROUP="plugdev"' > /etc/udev/rules.d/00-usb-permissions.rules
udevadm control --reload-rules && udevadm trigger

But that doesn't help, and neither does restarting.
What am I missing?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry Aleksandrov, 2019-08-09
@776166

hidraw is a little different, make a rule
for it
as noted above, it is better to have rights 644
Also check if the user is in the plugdev group

P
pfg21, 2019-08-09
@pfg21

the fs root inherits the rights and user of the directory into which the device is mounted

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question