Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Sat, 16 Jul 2005 22:09:40 -0400 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: cannot create temp file for here document Message-ID: <20050717020940.GA20320@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com References: <071520051616 DOT 17192 DOT 42D7E14F0006D1840000432822007510900A050E040D0C079D0A AT comcast DOT net> <42D83890 DOT 7010908 AT byu DOT net> <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20050715182925 DOT 03329460 AT mail DOT tpsoft DOT com> <42D907BE DOT 5090003 AT byu DOT net> <6 DOT 2 DOT 0 DOT 14 DOT 2 DOT 20050716111204 DOT 0335fa88 AT mail DOT tpsoft DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <6.2.0.14.2.20050716111204.0335fa88@mail.tpsoft.com> User-Agent: Mutt/1.5.8i On Sat, Jul 16, 2005 at 11:49:46AM -0700, Barry Demchak wrote: >cd /tmp >cat >foo >blah blah blah ^Z >strace -o strace_unlink.out unlink foo If you are really typing a CTRL-Z here, then you are suspending the cat which is creating the foo. That means that cat would be keeping the foo open, which means that cygwin would be using "unlink-on-last-close" semantics. The UNIX/linux/cygwin method EOF character is CTRL-D. Otherwise, I can't duplicate this behavior on either XP or W2K on either a FAT or a FAT32 disk. >In playing around with this, I'm getting the feeling that cygwin maintains >a shadow permission list for each file. Nope. My WAG is that you are running some other software running in the backgroundwhich is interfering with normal windows behavior. -- 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/