LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-28-2004, 02:07 PM   #1
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Rep: Reputation: 15
Saving To X86Config


Im trying to edit the X86Config file. I type :w! and it says it can not open file for writing. If i type :w it says its read only add ! to override. Why cant i save this file??
 
Old 04-28-2004, 02:13 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
You're not doing it as root, and don't have permissions
on the file? :)


Cheers,
Tink
 
Old 04-28-2004, 02:16 PM   #3
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Original Poster
Rep: Reputation: 15
aww crap i think i forgot to su before editing. Ive been editing this file for like an hour now. Is there anyway i can su while the file is open so i can save it??
 
Old 04-28-2004, 02:32 PM   #4
311Sam
Member
 
Registered: Nov 2003
Location: waco, tx
Distribution: slackware & kubuntu
Posts: 108

Original Poster
Rep: Reputation: 15
alright i got it. I just changed the permissions. anyone know the default chmod value for this file? Is it 644? I would like to change it back..
 
Old 04-28-2004, 05:49 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
644 seems fair enough. The alternative would have been
to save it to some location in your home, and then copy
it over as root :)


Cheers,
Tink
 
  


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
what happened to x86Config? simsjr Slackware 7 06-28-2004 11:17 AM
Need X86Config for NEC LCD 2080UX+ mrinaldi Linux - Hardware 0 06-07-2004 12:12 AM
Whats wrong with this X86Config treble54 Linux - Newbie 3 04-30-2004 06:45 PM
x86config question, please help bosewicht Linux - Newbie 2 11-23-2003 06:38 PM
Mice in X86config Scythe Slackware 1 06-17-2003 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:10 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