Results 1 to 2 of 2
I am using (2.6.32-29-generic #58-Ubuntu SMP Fri Feb 11 20:52:10 UTC 2011 x86_64 GNU/Linux) I have created a character device, the module compiles and instmod is successful. Code: make sudo ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-16-2011 #1
- Join Date
- Oct 2010
mknod permission denied
I have created a character device, the module compiles and instmod is successful.
make sudo instmod mymod.koCode:
grep mymod /proc/devices | cut -b1-3
To install my module I want to use mknod, because it is proprietary and udev does not like this fact (I am trying to make it GPL but need company acceptance).
I can do this fine:
sudo mknod -m 666 /dev/mymod c 250 0
the man says
set file permission bits to MODE, not a=rw - umask
sudo mknod /dev/mymod c 250 0
- 03-19-2011 #2
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
I don't understand - udev should not be concerned with your license. What problem are you having with it. As for mknod, I think the default is your umask setting, which is probably not 666.Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!