Free Downloads, Community Forum,
FAQs and Developer Resources


Make /Tools Your Home | Link to us

Today's posts | Posts since last visit | Most Active Topics

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
  Printable Version
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> tcsh startup file execution for .tcshrc Page: [1]
Login
Message << Older Topic   Newer Topic >>
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
Post #: 1
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

(in reply to pburns)
Post #: 2
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

(in reply to Rodney)
Post #: 3
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

(in reply to pburns)
Post #: 4
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

(in reply to pburns)
Post #: 5
Page:   [1]
All Forums >> [SFU / Interix / SUA Technology] >> SFU / Interix - Getting Started >> tcsh startup file execution for .tcshrc Page: [1]
Jump to:





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


Search All Forums -

Advanced search


SPONSORS



Forum Software © ASPPlayground.NET Advanced Edition 2.5 ANSI

0.031