This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: cannot create temp file for here document
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/