Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

changing file permissions - read-only

Status
Not open for further replies.

Matrix64

IS-IT--Management
Aug 26, 2007
4
US
Hey,
I need to edit a file, but it is set to read-only. How do I change that? I am new to Linux and dont know my way around.
Thanks
 
chmod +w filename
Disclaimer:
Beware: Studies have shown that research causes cancer in lab rats.
 
Where and how do I type that, "chmod +w filename." And what does that do, does it make the file writable?
 
MAtRiX64,

The command that mbaranski specified is all you need to type. Just change directory to where the file is located ( i.e. the file that you want to change ). Then type the above command at the prompt. The command will give you write permission. You must be either the owner of the file or a root user to carry out this command. Mise Le Meas,

Mighty :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top