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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
08-13-2003, 11:58 AM
|
#1
|
Member
Registered: Apr 2003
Posts: 185
Rep:
|
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.
|
|
|
08-13-2003, 02:30 PM
|
#2
|
Moderator
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047
Rep:
|
What are the permissions on the file?
|
|
|
08-13-2003, 02:42 PM
|
#3
|
Member
Registered: Jul 2002
Distribution: OpenSuSE 11
Posts: 441
Rep:
|
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.
|
|
|
08-13-2003, 03:07 PM
|
#4
|
LQ Guru
Registered: Jan 2001
Posts: 24,149
|
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?
|
|
|
08-13-2003, 03:20 PM
|
#5
|
Member
Registered: Apr 2003
Posts: 185
Original Poster
Rep:
|
Permissions are to everybody, to all possible people...I need to make more tests...try all editors... and so on?
-Tommi
|
|
|
08-13-2003, 03:21 PM
|
#6
|
Member
Registered: Jul 2003
Posts: 88
Rep:
|
If vi it might not let you if a file is 400. Try doing chmod 644 on the file then editing it
Rus
|
|
|
08-13-2003, 03:26 PM
|
#7
|
Member
Registered: Jul 2003
Distribution: Red Hat Linux 9.0; Old and Solid
Posts: 674
Rep:
|
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)
|
|
|
08-14-2003, 02:53 PM
|
#8
|
Member
Registered: Apr 2003
Posts: 185
Original Poster
Rep:
|
Many thanks! :-)
|
|
|
All times are GMT -5. The time now is 08:30 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|