Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Find out what messes with devnode permissions
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
roarinelk
Guru
Guru


Joined: 04 Mar 2004
Posts: 520

PostPosted: Thu Nov 30, 2023 9:50 am    Post subject: Find out what messes with devnode permissions Reply with quote

Hello,

For a few weeks now I have the following problem:
All device nodes create by/for VirtualBox have their group-writable attributes missing, although the
shell script provided by VirtualBox does mknod them with permissions "0660" (i.e. user/group read-writable).
This is most visible with USB devices, where Virtualbox creates a "shadow" tree at /dev/vboxusb/<id>/<id> when a device is hotplugged.

If I run the script manually (e.g. "/usr/lib/udev/VBoxCreateUSBNode.sh 189 260 00") the node is created with correct
permissions, so I think something else later on removes the g-w attribute.

On another machine with identical userland (use flags, ...) this does NOT happen.

I tried "udevadm monitor" but could not find out who/what modifies these nodes after they're created.
Can anyone suggest another tool to monitor udev and it's script invocations or how to trace when a devnode is modified?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum