LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-22-2004, 02:04 PM   #1
glaz
Member
 
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
mdg
Member
 
Registered: Sep 2003
Distribution: Slackware
Posts: 626

Rep: Reputation: 37
As root:
Code:
chmod +rw <filename>
 
Old 06-22-2004, 02:13 PM   #3
glaz
Member
 
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
Genesee
Member
 
Registered: Dec 2002
Distribution: Slackware
Posts: 927

Rep: Reputation: 30
read this:

https://www.redhat.com/docs/manuals/...ownership.html

 
  


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
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


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