LinuxQuestions.org
Visit Jeremy's Blog.
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 08-13-2003, 10: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 01:12 PM.
 
Old 08-13-2003, 01:30 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
What are the permissions on the file?
 
Old 08-13-2003, 01: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, 02:07 PM   #4
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
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, 02: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, 02: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, 02: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, 01:53 PM   #8
Tommi
Member
 
Registered: Apr 2003
Posts: 185

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


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

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

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