This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem in tcsh


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]