This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: [1.7] chmod fails with windows path
On Dec 15 21:32, Corinna Vinschen wrote:
> On Dec 15 20:25, Eric Blake wrote:
> > Eric Blake <ebb9 <at> byu.net> writes:
> >
> > > Or, more accurately, a limitation of the coreutils .exe magic getting
> > > thrown off by the switch to the new cygwin_conv_path.
> >
> > On further thought, chmod doesn't do .exe magic to begin with (cp, mv, and ln
> > do, but not chmod). Maybe the culprit is the fact that coreutils uses fchmodat
> > rather than chmod?
>
> Probably. One core test in the *at functions is the check for an
> absolute path using something along the lines of `if (*path == '/' ||
> *path == '\\'). I never tested the *at functions with DOS paths. I
> mean, who uses DOS paths when there are nice POSIX paths available...
Fixed in CVS.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
--
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/