exit code? WTF??

Clarus

MOOF!
Well i was trying to install enlightenment using fink and i logged out to use >console for straight darwin. >console didnt work so i logged back in as my user and launched the terminal. This is what i see now

Welcome to Darwin!
login: /bin/tcsh: Permission denied

[Process exited - exit code 1]

?????

any thoughts on this and what i should do to remedy it?

thanks

-Lucian
 
I had a problem similar to that in November. Then after that happened my HD was unmountable. It was easily fixed by booting on a 9 CD and running Disk First Aid.

I'd suggest trying this first, and let us know if it helps the problem.

If it doesn't, then it must be some other unixy thingy.
 
Although disk utility fixed a slew of problems, Im still getting the error.... any other ideas???


-Lucian
 
what are your current permissions for /bin/tcsh?

"ls -l /bin/tcsh"

From man:
A login shell begins by executing commands from the system
files /etc/csh.cshrc and /etc/csh.login. It then executes
commands from files in the user's home directory: first
~/.tcshrc (+) or, if ~/.tcshrc is not found, ~/.cshrc,
then ~/.history (or the value of the histfile shell vari-
able), then ~/.login, and finally ~/.cshdirs (or the value
of the dirsfile shell variable) (+). The shell may read
/etc/csh.login before instead of after /etc/csh.cshrc, and
~/.login before instead of after ~/.tcshrc or ~/.cshrc and
~/.history, if so compiled; see the version shell vari-
able. (+)
still awake? try looking at the etc/csh.cshrc or etc/csh.login files & see what condition they are in. Either your tsch binary or one of the config files got corrupted by the enlightenment install.
 
Yeah, it all dealt with permissions. I logged onto my friend's mac via ftp and looked at how the permissions on his /bin/ directory were set. Aparrently no one had permission to execute anything within that directory including tsch. That explains why i could only login under root. Thanks alot peoples I appreciate the ever giving apple/unix community!

-Lucian:D
 
Back
Top