All Forums |
Register |
Login |
Search |
Subscriptions |
My Profile |
Inbox |
Tool Warehouse |
FAQs |
Resources |
Help |
Member List |
Address Book |
Logout |
|
|
tcsh startup file execution for .tcshrc
|
Logged in as: Guest |
Users viewing this topic: none |
|
Login  |
|
|
tcsh startup file execution for .tcshrc - Mar. 28, '03, 2:35:03 PM
|
|
|
pburns
Posts: 4
Joined: Mar. 28, '03,
Status: offline
|
I just loaded SFU 3.0 on and XP system. The tcsh startup file .tcshrc does not get executed from my home directory. Nor does .cshrc. Any ideas ?
_____________________________
pburns
|
|
|
RE: tcsh startup file execution for .tcshrc - Mar. 28, '03, 6:38:27 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
Check that you own the file and that the mode is 600:
chmod 600 .tcshrc
|
|
|
RE: RE: tcsh startup file execution for .tcshrc - Mar. 28, '03, 6:49:57 PM
|
|
|
pburns
Posts: 4
Joined: Mar. 28, '03,
Status: offline
|
OK, that fixed it. However, before the ls command output showed that I owned the file and that it was readable, and writeable. Any idea what was going on?
thanks for your help
|
|
|
RE: tcsh startup file execution for .tcshrc - Mar. 28, '03, 7:03:09 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
It' s for security. Just as with the " .rhosts" file to prevent someone from accessing the file and making changes to it so that your own file becomes a trojan horse.
So the shell startup files for ksh/sh and csh/tcsh both do this check.
- Rodney
|
|
|
RE: tcsh startup file execution for .tcshrc - Mar. 29, '03, 3:15:38 PM
|
|
|
Rodney
Posts: 3728
Joined: Jul. 9, '02,
From: /Tools lab
Status: offline
|
I forgot to mention that this is with the tcsh as shipped with Interix 3.0.
In the Interop /Tools warehouse there is a newer version of tcsh. I did not add code to it to do the same security checking.
- Rodney
|
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
|
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts |
|
|
|