This is the mail archive of the cygwin 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: Path confusion


On Fri, 1 Apr 2005, Luke Kendall wrote:

> On  1 Apr, To: cygwin@XXXXXX.XXX wrote:
             ^^^^^^^^^^^^^^^^^^^^^
Eh? :-)

> >  >  You must mean 'chown -R --from="$USER" ...' :-)
> >
> >  Hmm, sounds better still.  :-)
>
> D'oh!  Not possible: there's no -xdev option on chown, so that would
> do a whole lot more chown-ing than intended, as it reached across the
> network, or at least into other mount points under "/"  ...

Ah, quite true.  Any discussion of adding such an option should probably
be done on the coreutils mailing lists, as this would be likely useful not
only for Cygwin.

> While just checking that, I also discovered that "man chown" now
> produces no output.  Other man entries seem fine.
>
> $ cygcheck -s | grep "^cygwin "
> cygcheck: dump_sysinfo: GetVolumeInformation() failed: 67
> cygwin                  1.5.13-1

FWIW, a better way to produce the above line is "cygcheck -cd cygwin".

> $ man chown | cat -tvu
> Warning: cannot open configuration file /usr/share/misc/man.conf

Heh?  First off, why would you need to pipe this to "cat" (aside from the
fact that "-u" is ignored, and "-v" is redundant with "-t")?  Secondly,
you don't get the above message with other man pages, do you?

> $ gunzip -c /usr/share/man/man1/chown.1.gz | nroff -man | head
> CHOWN(1)                         User Commands                        CHOWN(1)
> [snip]

In addition to what Eric mentioned, it would also be nice to see your
mount table, so attaching the output of "cygcheck -svr" would be a good
idea here...
	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!

"The Sun will pass between the Earth and the Moon tonight for a total
Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT

--
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]