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 X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 31 Jul 2003 22:30:27 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Kaufman, Duane (MED, LUNAR)" cc: cygwin AT cygwin DOT com Subject: RE: Problems with man In-Reply-To: Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 AT 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 AT 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 AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT 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/