The problem is that a normal user has not the right to insert a module into the
kernel, even if he can execute modprobe.
What I would do if I was in your place is giving modprobe the suid bit by
typing : chmod +s /sbin/modprobe.

That means that when your run modprobe, it will execute with the owner's
permitions (here : root)

Lance Borden wrote :
> Hey Y'all,
> 
> I want to use modprobe ppa to load the module for my zip100, so I can mount it.
> I can do this as root w/o any problems, but I want to give user permission to
> run modprobe ppa. This way, I just put 2 icons on my desktop:  click the one for
> modprobe ppa, then click the zip icon to mount.
> 
> So, I go and give user permission to run modprobe, and it APPEARS to execute the
> command. However, it doesn't work. I get the following message:
> 
> /lib/modules/2.2.13-7mdk/scsi/ppa.o: create_module: Operation not permitted
> parport: Device or resource busy
> 
> Any ideas what this means and how to fix it?  I am pretty sure it is a
> permission problem. When I run modprobe ppa as root, I don't get this message,
> but I get it every time I do it as user.
> 
> I 'know' that user has permission for the modprobe command because I used to get
> the 'bash: command not found' message before changing the permissions. I've come
> a step closer, but I'm not there yet!
> 
> Somehow I think I must be needing to do permissions elsewhere...but now I'm
> clueless as to where.
> 
> Thanks for the help in advance!
> Lance

Reply via email to