LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-27-2007, 06:42 PM   #1
sean04
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Rep: Reputation: 0
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?
 
Old 11-27-2007, 06:46 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Quote:
Originally Posted by sean04 View Post
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
 
Old 11-27-2007, 06:53 PM   #3
sean04
LQ Newbie
 
Registered: Oct 2007
Posts: 8

Original Poster
Rep: Reputation: 0
How do I run it at boot up?
 
Old 11-28-2007, 12:59 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems in getting file permissions using stat skie_knite007 Programming 1 12-13-2005 12:22 AM
File Permissions, CHMOD problems, image included. DeathGoth Programming 16 10-05-2004 10:51 PM
Problems with system-wide file permissions hexadevil Linux - Newbie 2 05-30-2004 08:54 AM
Linux File Permissions - Need some help. richcom23 Linux - Networking 6 02-24-2004 02:51 PM
Problems with file permissions Manyguns Linux - General 1 02-26-2002 10:51 AM


All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration