-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This also works with the 2.4.24 Linux kernel (Slackware 9.1):
[EMAIL PROTECTED]:~$ more testfile.txt Let's try this in Linux [EMAIL PROTECTED]:~$ ls -al testfile.txt - -rw-r--r-- 1 chris users 24 Apr 7 12:43 testfile.txt [EMAIL PROTECTED]:~$ testfile.txt>testfile.txt - -bash: ./testfile.txt: Permission denied [EMAIL PROTECTED]:~$ more testfile.txt [EMAIL PROTECTED]:~$ ls -al testfile.txt - -rw-r--r-- 1 chris users 0 Apr 7 12:44 testfile.txt [EMAIL PROTECTED]:~$ Tried with +x too: [EMAIL PROTECTED]:~$ mv testfile.txt testfile [EMAIL PROTECTED]:~$ echo "ls -al">testfile [EMAIL PROTECTED]:~$ ls -al testfile - -rw-r--r-- 1 chris users 7 Apr 7 12:48 testfile [EMAIL PROTECTED]:~$ chmod u+x testfile [EMAIL PROTECTED]:~$ ls -al testfile - -rwxr--r-- 1 chris users 7 Apr 7 12:48 testfile* [EMAIL PROTECTED]:~$ ./testfile total 346520 <My ls snipped> [EMAIL PROTECTED]:~$ testfile>testfile - -bash: ./testfile: Text file busy [EMAIL PROTECTED]:~$ ls -al testfile - -rwxr--r-- 1 chris users 0 Apr 7 12:49 testfile* Chris __________________________________ YAP, works for ntfs too... - -------------------------------------- - --- morning_wood <[EMAIL PROTECTED]> wrote: > Fat32 file output redirect overwrites self. > =========================== > > odd behavior... >? > > 1.) console application output redirected to itself > ( file.ext > file.ext ) > C:\test>program.exe >program.exe > program.exe __________________________________ Do you Yahoo!? Yahoo! Small Business $15K Web Design Giveaway http://promotions.yahoo.com/design_giveaway/ _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFAdDGIOyWtx0MtxawRAuP6AJ9QHaZ/mhNxttBze9Nxb+ifZwU+nwCgmBZO a1zOdYCkpelbTkIjRVo0VCw= =xDPp -----END PGP SIGNATURE----- _______________________________________________ Full-Disclosure - We believe in it. Charter: http://lists.netsys.com/full-disclosure-charter.html
