delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/04/03/18:23:58

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
X-Apparently-From: <earnie?boyd AT yahoo DOT com>
Message-ID: <3ACA479A.6EEE200D@yahoo.com>
Date: Tue, 03 Apr 2001 16:58:50 -0500
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: Earnie Boyd <cygwin AT cygwin DOT com>
X-Mailer: Mozilla 4.76 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Michael Nagatkin <MNagatkin AT peerless DOT com>
CC: cygwin AT cygwin DOT com
Subject: Re: foo: Permission denied
References: <97444F1842EF0146AA0E6C0BB5D32CC015802C AT serv3 DOT hde DOT com>

Michael Nagatkin wrote:
> 
> Earnie Boyd wrote:
> > Michael Nagatkin wrote:
> > >  I get a "foo: Permission denied" error when running a script that
> > >  redirects to a file, "foo". I tried removing the file, but get the
> > >  same error.
> >
> > Is foo really foo.exe?  Is this on a NTFS?
> 
>  No, foo is just simply foo - also, user has write permission
>  in foo's directory and I tried experimenting with variations
>  on umask (007, 777, etc).
> 
>  Yes, NTFS (win2000).
> 
>  Further, like the "problem with mmap and cygwin 1.1.8" post",
>  when I run a strace I get
> 
>         "geterrno_from_win_error: windows error 5 == errno 13"
> 
>  This problem is evocative of many other "Permission denied"
>  posts I have seen in the mail archives. I have followed
>  recommendations regards mkpasswd and tried to make sense
>  of the ntsec info. I have chmod problems as well.
> 
>  Wouldn't it be nice if windoze had a /tmp equivalent where
>  read-write permissions were wide open? Testing for such a
>  problem would be much simplified. Is there a way Cygwin could
>  create a
> 
>         drwxrwxrwx   2 nobody          4096 Apr  1 12:34 tmp/
>         ^^^^^^^^^^
> 
>  as part of the install? If any of this is ridiculous, please
>  flame me, I am a newbie and will take any education I can get.
> 

Hmm...  I assume you have the ntsec option set in the CYGWIN environment
variable?

What does Win32 say about the security for your c:\cygwin\tmp directory?

Earnie.

_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019