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: thanks, makewhatis works, still have man problems


Please keep email on the cygwin@cygwin.com list.
It gets to me just as fast, and someone else might answer quicker.

Geoff Begley wrote:
> Thanks again... I appended the requested output.
> Which gave me the idea to try
> chmod 744 /usr/man/man1/*

Why did you just make your man pages executable?

> then $ man man resulted in
>
> /usr/bin/tbl: not found
> /usr/bin/nroff: not found
> /usr/bin/less: not found
...

> However,
> tbl, nroff and less all exist in /usr/bin and are on my path
>
> Another curiosity is that '$ which find' results in
> /cygdrive/c/WINNT/system32/find
>
> but my path is
> .
> /usr/local/bin
> /usr/bin
> /bin
> /usr/bin
^^Unnecessary duplication here^^

> /cygdrive/c/WINNT/system32
> /cygdrive/c/WINNT
> /cygdrive/c/WINNT/System32/Wbem
> /home/java/jdk141/bin
> /cygdrive/c/Program Files/SecureCRT 3.0
> /home/mysql/bin
> .

> $ ls -l /usr/man/man1
>
> total 9232
> ----------    1 Administ None        10798 Jul 24 14:06 a2p.1
> ----------    1 Administ None         2816 Dec 16 13:03 addftinfo.1
> ----------    1 Administ None         7969 Nov 17 22:46 addr2line.1
> ----------    1 Administ None         6041 Dec 16 13:03 afmtodit.1
> ----------    1 Administ None          801 Dec 16 12:46 apropos.1
[snip]

Ok, its now clear that this is an ntsec problem.

In current Cygwin DLLs, ntsec is on by default. Unfortunately, with certain
situations, the problem you are seeing arises.
It would be helpful for you to past the output of "cacls C:\cygwin" at a
cmd.exe shell. (Obviously, subsititute C:\cygwin as appropriate for your
install.)

As to solving the problem, you can either set nontsec in your CYGWIN
variable, or you can adjust permissions on your files so that they work
properly.
I suggest that you give Administrators Full Control over your Cygwin tree,
which should hopefully solve the immediate problems. *Please run cacls as
mentioned above before doing this!*.

Thanks,

Max.


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