LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   trying to use Darwin Ports, editing the etc/profile file (https://www.linuxquestions.org/questions/linux-newbie-8/trying-to-use-darwin-ports-editing-the-etc-profile-file-365807/)

fyr3 09-22-2005 01:20 AM

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.

scuzzman 09-22-2005 01:40 AM

Are you doing this as root?

cs-cam 09-22-2005 05:51 AM

Quote:

Originally posted by scuzzman
Are you doing this as root?
To elaborate, if you aren't then you should be.

fyr3 09-22-2005 09:41 AM

yeah


All times are GMT -5. The time now is 09:20 PM.