Author: Tord Romstad
Date: 06:11:06 07/25/04
Go up one level in this thread
On July 25, 2004 at 08:30:32, Eric Jensen wrote:
>/sw/bin/pathsetup.sh
>OK
>echo $SHELL
>/bin/bash
>cd
>pico .profile
>
>.profile already contains the line . /sw/bin/init.sh so I try to merely hit
>return and then save and exit. It reads "file cannot be opened for writing" and
>says that my changes will be lost if I merely exit.
The following incarnation should give you write permission to the file:
chmod u+w .profile
Like many Unix commands, it might look a bit cryptic. 'chmod' is probably an
abbreviation for "change mode" or something like that. 'u+w' means that you
want to add ('+') write ('w') permission for the user ('u') who owns the file
(that is, for yourself).
>It does tell me when I use pathsetup that it appears my settings are correct...
>but that can't be. I think you are right that there is some problem w/ the
>.profile but I don't know how to get past the write protection.
What output do you get if you type 'echo $PATH' on the command line?
Tord
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.