Share your knowledge at the LQ Wiki.
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 09-22-2005, 01:20 AM   #1
LQ Newbie
Registered: Sep 2005
Distribution: Slackware 12.2
Posts: 19

Rep: Reputation: 0
Unhappy trying to use Darwin Ports, editing the etc/profile file

i found this file and i can usually save/edit with vi easy enough but when i try and edit this file it says that its a read only file, then i type :w! and it says "profile e212 cant open for writing". Whats up wit this?! all im trying to do is add "export PATH=$PATH:/opt/local/bin" to the file. And BTW where should i insert that line of text into. Thanks a bunch people.
Old 09-22-2005, 01:40 AM   #2
Senior Member
Registered: May 2004
Location: Hilliard, Ohio, USA
Distribution: Slackware, Kubuntu
Posts: 1,851

Rep: Reputation: 47
Are you doing this as root?
Old 09-22-2005, 05:51 AM   #3
Senior Member
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 57
Originally posted by scuzzman
Are you doing this as root?
To elaborate, if you aren't then you should be.
Old 09-22-2005, 09:41 AM   #4
LQ Newbie
Registered: Sep 2005
Distribution: Slackware 12.2
Posts: 19

Original Poster
Rep: Reputation: 0


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
It's about editing 'etc/profile' bicbac Linux - Newbie 5 08-30-2005 09:06 PM
editing profile.. andox LQ Suggestions & Feedback 2 07-05-2003 06:50 PM
Editing path permanently...but I don't have .bashrc or .profile shock_ez Linux - Newbie 6 07-02-2003 05:16 PM
Profile file for redhat? KaktusKnight Linux - General 3 06-19-2003 12:17 AM
About Editing the User Profile emmanuelmathew LQ Suggestions & Feedback 2 02-06-2003 03:48 PM > Forums > Linux Forums > Linux - Newbie

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