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: Problems with man


On Thu, 31 Jul 2003, Kaufman, Duane (MED, LUNAR) wrote:

> Hi,
> Thanks for the response!
> >
> > > I recently installed Cygwin on my desktop machine (Win2k 5.00.2195
> > > Service Pack 2), and I am having trouble with getting man
> > pages. Here is
> > > some output:
> > >
> > > duane@USD22C821 ~
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /bin/cat: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl |
> > /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > >
> > > I have read the FAQ, and yes, I have ash installed. Trying
> > the same from
> > > a sh:
> > >
> > > duane@USD22C821 ~
> > > $ sh
> > > \[\033]0;\w\007
> > > \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> > > $ man man
> > > /usr/bin/tbl: not found
> > > /usr/bin/nroff: not found
> > > /usr/bin/less: not found
> > > Error executing formatting or display command.
> > > System command (cd /usr/man && (echo ".pl 1100i"; /bin/cat
> > > '/usr/man/man1/man.1'
> > > ; echo; echo ".pl \n(nlu+10") | /usr/bin/tbl |
> > /usr/bin/nroff -c -mandoc
> > > | /usr/
> > > bin/less -isrR) exited with status 32512.
> > > No manual entry for man
> > > \[\033]0;\w\007
> > > \033[32m\]\u@\h \[\033[33m\w\033[0m\]
> > >
> > > What do I have configured wrong?
> >
> > This looks like a permission problem but there's nothing
> > obviously wrong
> > from your setup log or cygwcheck output.  Can you invoke any of these
> > directly from bash without problems?  What do the ownerships look like
> > on these files?  What does 'getfacl' say for these files?
> >
> Oddly enough, I can invoke the entire 'System command' from above in
> bash, and it works...but even /bin/cat doesn't work from sh.
>
> Below is the output from getfacl:
> # file: /usr/bin/tbl
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /bin/cat
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /usr/bin/nroff
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---
>
> # file: /usr/bin/less
> # owner: Administrators
> # group: mkgroup_l_d
> user::---
> group::---
> mask:rwx
> other:---

Judging by the above, it is a permission problem.  For some reason, your
/usr/bin does not have the correct flags.  bash, which uses a different
mechanism for locating executables, doesn't notice this, but sh gets
confused.  Try "chmod 755 /usr/bin/*".  Also, the group name indicates
that your /etc/group file is not up to date (by showing the command you
need to run, i.e., "mkgroup -l" and "mkgroup -d").
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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]