delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/02/23:03:20

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <mitra AT ti DOT com>
To: <cygwin AT cygwin DOT com>
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
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019