This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: permission denied.....
- To: Suhaib Siddiqi <ssiddiqi at inspirepharm dot com>
- Subject: Re: permission denied.....
- From: Alan Hourihane <alanh at fairlite dot demon dot co dot uk>
- Date: Wed, 3 Oct 2001 13:49:15 +0100
- Cc: "'cygwin-xfree at cygwin dot com'" <cygwin-xfree at cygwin dot com>
- References: <7F2B9185F0196F44B59990759B91B1C2683098@ins-exch.inspirepharm.com>
As per original email - SP6a.
Harold - forgot to mention, this isn't a problem with the build for XFree86,
this is Cygwin specific, so cross-compilational has nothing to do with the
problem. The problem just shows up when compiling XFree86.
My guess is that the cygwin1.dll is returning an -EACCES message back to
userland, and it manifests itself on NT4.
I was really just enquiring if people had seen this on their systems. It
seems I should ask this question deeper on the cygwin list.
Alan.
On Wed, Oct 03, 2001 at 08:42:02AM -0400, Suhaib Siddiqi wrote:
> Alan,
>
> Service pack? This is NT 4.0 specific... I noticed it only on NT 4.0...
>
> Suhaib
>
> > -----Original Message-----
> > From: Alan Hourihane [mailto:alanh@fairlite.demon.co.uk]
> > Sent: Wednesday, October 03, 2001 3:40 AM
> > To: Suhaib Siddiqi
> > Cc: 'cygwin-xfree@cygwin.com'
> > Subject: Re: permission denied.....
> >
> >
> > I am logged in as a user that's been given 'Administrator' privileges.
> >
> > But like I say, I can walk back into the directory and type
> > 'make' and it builds fine. Sometimes the build will complete
> > normally too. It only happens occasionally - so I don't
> > believe there's anything wrong with permissions at all.
> >
> > It's always cpp0.exe though. I suspect it could be a bogus
> > return value, or test case in this program. I guess I'll have
> > to grab to source to check it out though.
> >
> > Alan.
> >
> > On Tue, Oct 02, 2001 at 07:33:30PM -0400, Suhaib Siddiqi wrote:
> > >
> > > Are you login as Administrator? A couple of years ago I had this
> > > problem and it had something to do with NT permissions.
> > >
> > > Suhaib
> > >
> > > > -----Original Message-----
> > > > From: Alan Hourihane [mailto:alanh@fairlite.demon.co.uk]
> > > > Sent: Tuesday, October 02, 2001 6:44 PM
> > > > To: cygwin-xfree@cygwin.com
> > > > Subject: permission denied.....
> > > >
> > > > I'm wondering if anyone else has ever seen this.
> > > >
> > > > It only happens very occasionally, but sometimes when I'm
> > building
> > > > the X tree on cygwin 1.3.3 on my WinNT 4.0 box (SP6a) I get
> > > > 'permission denied'
> > > > when building....
> > > >
> > > > Example build problem.....
> > > >
> > > > gcc -c -O2 -fno-strength-reduce -Wall -Wpointer-arith
> > -I../.. -
> > > > I../../exports/include -D__i386__ -DWIN32_LEAN_AND_MEAN
> > -DX_LOCALE -
> > > > D_X86_ -D__STDC__ -DNO_TCP_H -D__CYGWIN__ -D_XOPEN_SOURCE -
> > > > D_POSIX_C_SOURCE=199309L -D_BSD_SOURCE -D_SVID_SOURCE
> > -D_GNU_SOURCE -
> > > > DFUNCPROTO=15 -DNARROWPROTO GenKey.c
> > > > cpp0.exe: /cygdrive/c/TEMP/cc2ffvs1.i: Permission denied
> > > > make[4]: *** [GenKey.o] Error 1
> > > >
> > > > If I go back into this directory and whack 'make' again it's fine
> > > > and builds.
> > > >
> > > > Anyone seen this ?
> > > >
> > > > It did happen with 1.3.2 too, but never happened with 1.3.1.
> > > >
> > > > I've tried various flavours of the binutils packages too, I'm
> > > > currently running with the latest 1st Oct. release.
> > > >
> > > > Alan.
> >