Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-22-2004, 02:04 PM   #1
Registered: Jun 2004
Posts: 58

Rep: Reputation: 15
Can't modify files!

I can't modify a file called mailcap and for that any other protected files. I made myself the owner of the file (mailcap) via chown, however when i use gedit and type some info into the file and try to save it, it says it can't save the file. What do i do to make the file so it can be written to or changed, thanks.
Old 06-22-2004, 02:09 PM   #2
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 38
As root:
chmod +rw <filename>
Old 06-22-2004, 02:13 PM   #3
Registered: Jun 2004
Posts: 58

Original Poster
Rep: Reputation: 15
Would I have to do this for every protected file i need to modify?
Old 06-22-2004, 02:22 PM   #4
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
read this:



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
Do I modify 3 files to change hostname? imsam Linux - Newbie 1 10-29-2004 11:29 PM
modify win xp files from linux punked Linux - Software 4 08-15-2004 09:37 AM
I cant copy or modify files schindler Linux - Newbie 2 05-29-2004 01:27 PM
can not open/modify files and olders setska Linux - Newbie 2 05-06-2004 04:34 AM
How to modify PAM.d conf. files sunnycn Linux - General 0 05-20-2002 11:47 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration