LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux file permissions problems (https://www.linuxquestions.org/questions/linux-newbie-8/linux-file-permissions-problems-602836/)

sean04 11-27-2007 05:42 PM

Linux file permissions problems
 
I'm having some difficulty running a program that is suppose to initialize my hardware. This driver was installed as root and when a user calls the initialize function from a user account, the program is able to run but, when this program calls the executable /sbin/insmod I get the following error:

insmod: "error inserting 'filename' " - Operation not permitted

But, when I run the same program as a root everything works fine.

What do I need to change to fix the problem?

jailbait 11-27-2007 05:46 PM

Quote:

Originally Posted by sean04 (Post 2972671)
I'm having some difficulty running a program that is suppose to initialize my hardware. This driver was installed as root and when a user calls the initialize function from a user account, the program is able to run but, when this program calls the executable /sbin/insmod I get the following error:

insmod: "error inserting 'filename' " - Operation not permitted

But, when I run the same program as a root everything works fine.

What do I need to change to fix the problem?

The best solution would be to run the initialization program at boot.

-----------------
Steve Stites

sean04 11-27-2007 05:53 PM

How do I run it at boot up?

chrism01 11-27-2007 11:59 PM

Please add your distro to your profile, as this can affect the answer to qns like this.


All times are GMT -5. The time now is 11:25 PM.