LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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, 05: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, 05:46 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,337

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
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, 05: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-27-2007, 11:59 PM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

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


Reply



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-12-2005 11:22 PM
File Permissions, CHMOD problems, image included. DeathGoth Programming 16 10-05-2004 09:51 PM
Problems with system-wide file permissions hexadevil Linux - Newbie 2 05-30-2004 07:54 AM
Linux File Permissions - Need some help. richcom23 Linux - Networking 6 02-24-2004 01:51 PM
Problems with file permissions Manyguns Linux - General 1 02-26-2002 09:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:22 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
Open Source Consulting | Domain Registration