mknod: xxx: Operation not permitted

Richard Hally rhally at mindspring.com
Thu Dec 16 08:43:42 UTC 2004


Ralf Corsepius wrote:

>Hi,
>
>Trying to create a char-device as ordinary user, results into this:
># mknod /var/tmp/bla-1.0.0/etc/udev/devices/bla01 c 212 0
>mknod: `/var/tmp/bla-1.0.0/etc/udev/devices/bla01': Operation not permitted
>
>Any explanation for this behavior?
>
>Is it mknod trying to be overly clever or is it an selinux bug (This is
>on a FC3 system with selinux-policy-targeted)?
>
>This issue prevents one from being able to build rpms containing special
>devices as ordinary users.
>
>Ralf
>
>
>  
>
The first thing to look for if you suspect SELinux is acv denied 
messages in /var/log/messages. Another thing to try is to "setenforce 0" 
and try the command again to see if you get different results.
HTH
Richard Hally




More information about the fedora-devel-list mailing list