Does the suid bit have any special meaning for device files in Linux ?
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
I believe it is not. This bit is only used on executable files. It's defined in Linux kernel headers as
So it seems to me that this bit is only used (from userspace perspective) when executing files. At least on Linux. |
|||||||||
|
find /dev -perm /ugo+sgives nothing on my machine (nor a few others I checked); does your machine have set id/sticky entries in /dev ? – derobert Sep 13 '12 at 15:45