V
V
vanillamouse2018-10-13 19:31:57
ubuntu
vanillamouse, 2018-10-13 19:31:57

Ubuntu chmod settings not saving?

Hey ! Sorry for the dumb question!!!
OS Ubuntu 18.04
There is a usbToCom adapter, it is recognized by the system correctly, ttyUSB0, when you try to connect to the switch using it, the terminal writes / dev / ttyUSB0 access denied. The problem is solved by adding rights:
Chmod 666 dev/ttyUSB0
BUT! Until reboot.
And without a difference what representation in symbols or in octal system.
I understand that when you connect the adapter to dev, a ttyUSB0 file is created every time, then the option to create it yourself?
The question is whether the rule should be preserved? If it should, then why is it not saved (perhaps for the reason above)?
PS I solved the problem with a script in one line, but the question remained, nowhere in the mana I did not see that the rule should not be saved.
PS I myself use Fedor and there are no problems, ubuntu is placed on the second computer at the request of colleagues.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
mikes, 2018-10-13
@vanilamouse

the rights to the newly created device are described in the UDEV rules
, here is the solution to your problem
https://askubuntu.com/questions/15570/configure-ud...

A
Alexander Karabanov, 2018-10-13
@karabanov

Add yourself to the dialout group

V
vanilamouse, 2018-10-13
@vanilamouse

Thank you, I also tried to make a rule through udev, but for some reason it didn’t work, I’ll try again.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question