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 08-13-2003, 11:58 AM   #1
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Rep: Reputation: 30
Talking Cannot edit system files in Mandrake Linux...


Yo!

I try to configure my HP Scanjet 3200C scanner to Linux Mandrake 9.1.

It uses UMAX driver cos they are similar machines.

I should edit following files to load the driver:

umax_pp.conf

base-addr

But I cannot edit those files. No matter whether I am root or not...or for which users the file is marked.

I think there must be some command which overrules all the settings so I could edit them. I am sure I could make this easily in Redhat but this Mandrake may have some sort of "babylock" in it, donno.

Please help,

Tommi

Last edited by Tommi; 08-13-2003 at 02:12 PM.
 
Old 08-13-2003, 02:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 66
What are the permissions on the file?
 
Old 08-13-2003, 02:42 PM   #3
Edward78
Member
 
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441

Rep: Reputation: 30
Quote:
Originally posted by david_ross
What are the permissions on the file?
Root should work everytime, root has permision to do anything. Are you sure you are root do a su root in CLI & type pas, or type root at GUI login screen & pass. If root doesn't work I have no idea what the prob. is. Call Mandrake support.
 
Old 08-13-2003, 03:07 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally posted by Edward78
Root should work everytime, root has permision to do anything. Are you sure you are root do a su root in CLI & type pas, or type root at GUI login screen & pass. If root doesn't work I have no idea what the prob. is. Call Mandrake support.
What program are you using to edit these files? Have you tried a simple editor like vi or pico as root? What is the exact error you receive when trying to save after editing?
 
Old 08-13-2003, 03:20 PM   #5
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Permissions are to everybody, to all possible people...I need to make more tests...try all editors... and so on?

-Tommi
 
Old 08-13-2003, 03:21 PM   #6
jvds
Member
 
Registered: Jul 2003
Posts: 88

Rep: Reputation: 15
If vi it might not let you if a file is 400. Try doing chmod 644 on the file then editing it

Rus
 
Old 08-13-2003, 03:26 PM   #7
tricky_linux
Member
 
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674

Rep: Reputation: 30
Hi,buddy
I would rather suggest you to do following step first and then try to edit those files again

1. chmod 777 (first file's name)
2. chmod 777 (second one)
 
Old 08-14-2003, 02:53 PM   #8
Tommi
Member
 
Registered: Apr 2003
Posts: 185

Original Poster
Rep: Reputation: 30
Many thanks! :-)
 
  


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
vi to edit files?? Andknig Linux - Newbie 2 04-22-2005 05:18 AM
Files System/dev/hdb7(Mandrake 8.0) Help Bakaa Linux - Software 12 09-26-2003 07:59 PM
Cool Edit Pro 2.0 work whit Linux Mandrake ? BlackSnow Linux - General 1 07-23-2003 03:45 PM
Edit windows files in Linux Redhat NSCooper Linux - Newbie 8 05-03-2003 07:39 AM
Files on Linux system Sudha Ravikumar Programming 1 11-22-2002 08:25 PM


All times are GMT -5. The time now is 08:20 AM.

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