Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-Apparently-From: Message-ID: <3ACA479A.6EEE200D@yahoo.com> Date: Tue, 03 Apr 2001 16:58:50 -0500 From: Earnie Boyd Reply-To: Earnie Boyd X-Mailer: Mozilla 4.76 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Michael Nagatkin CC: cygwin AT cygwin DOT com Subject: Re: foo: Permission denied References: <97444F1842EF0146AA0E6C0BB5D32CC015802C AT serv3 DOT hde DOT com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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