Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私のプログラムはttyUSBルート権限なしでアクセスする必要があります。
ttyUSB
chmod 777 /dev/ttyUSB0ご存知のように変更してみましたが、再起動すると、この権限がデフォルトに変更されました。このために udev rules.d を構成するにはどうすればよいですか?
chmod 777 /dev/ttyUSB0
ディレクトリで を探し、以下のように更新しますttyUSB*。rules.d
ttyUSB*
rules.d
KERNEL=="ttyUSB*", MODE="0777"
行にあるその他のエントリは変更せずに残し、モード属性が存在しない場合は追加します。