Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Soumitra Pal" To: Subject: Re: Problem in tcsh Date: Thu, 3 Apr 2003 09:33:04 +0530 Message-ID: <000b01c2f995$edbf8470$a453579d@india.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Hi Corrina, > > >Not yet. What does `which Perl' tell you? (The built-in which, > > >not /bin/which). > > > > > >Corinna > > > > Built-in which gives: > > Perl: Command not found. > > > > But "/bin/which" gives: > > /cygdrive/d/Perl/bin/Perl > > > > So it seems that it is a problem with tcsh. > > It seems so but I can't reproduce it. I need more details: > > Output of > - id > - ls -l /cygdrive/d/Perl/bin/Perl.exe > - getfacl /cygdrive/d/Perl/bin/Perl.exe > > and the trace file of > - strace -o trace.out tcsh -c 'which Perl' See the details below: mitra AT a0756997> id uid=544(a0756997) gid=1005(mmp) groups=544(Administrators),545(Users),1005(mmp) mitra AT a0756997> ls -l /cygdrive/d/Perl/bin/Perl.exe -rwxrwxrwx 1 a0756997 SYSTEM 20480 Dec 15 2000 /cygdrive/d/Perl/bin/Perl.exe* mitra AT a0756997> getfacl /cygdrive/d/Perl/bin/Perl.exe # file: /cygdrive/d/Perl/bin/Perl.exe # owner: a0756997 # group: SYSTEM user::--- group::--- mask:rwx other:rwx trace.out is a big file. shall i attach it? see my /etc/passwd & /etc/group files /etc/passwd =========== Everyone:*:0:0:,S-1-1-0:: SYSTEM:*:18:18:,S-1-5-18:: admin777$::500:1005:,S-1-5-21-287181475-2026387952-1084442421-500:/home/admi n777$:/bin/bash bdbackup::1000:513:backup,S-1-5-21-287181475-2026387952-1084442421-1000:/hom e/bdbackup:/bin/bash BDBACKUPEXEC::1001:513:,S-1-5-21-287181475-2026387952-1084442421-1001:/home/ BDBACKUPEXEC:/bin/bash Guest::501:513:,S-1-5-21-287181475-2026387952-1084442421-501:/home/Guest:/bi n/bash SMSCliSvcAcct&::1003:513:SMSCliSvcAcct&,S-1-5-21-287181475-2026387952-108444 2421-1003:/home/SMSCliSvcAcct&:/bin/bash SMSCliToknAcct&::1004:513:SMSCliToknAcct&,S-1-5-21-287181475-2026387952-1084 442421-1004:/home/SMSCliToknAcct&:/bin/bash a0756997:*:544:1005:Soumitra Kumar Pal,S-1-5-32-544:/cygdrive/h:/bin/tcsh /etc/group ========== Everyone:S-1-1-0:0: SYSTEM:S-1-5-18:18: None:S-1-5-21-287181475-2026387952-1084442421-513:513: Administrators:S-1-5-32-544:544: Backup Operators:S-1-5-32-551:551: Guests:S-1-5-32-546:546: Power Users:S-1-5-32-547:547: Replicator:S-1-5-32-552:552: Users:S-1-5-32-545:545: mmp:S-1-5-21-287181475-2026387952-1084442421-1005:1005: NC_S_ISLCK:S-1-5-21-287181475-2026387952-1084442421-1006:1006: Thanks and regards Soumitra. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/