lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20040408095018.GA337@ngolde.de>
From: nion at gmx.net (Nico Golde)
Subject: FAT32 input > output = null?

Hallo chris,

* chris <chris@...con.org> [2004-04-08 11:20]:
> This also works with the 2.4.24 Linux kernel (Slackware 9.1):
> 
> chris@...mer:~$ more testfile.txt
> Let's try this in Linux
> chris@...mer:~$ ls -al testfile.txt
> - -rw-r--r--    1 chris    users          24 Apr  7 12:43 testfile.txt
> chris@...mer:~$ testfile.txt>testfile.txt
> - -bash: ./testfile.txt: Permission denied
> chris@...mer:~$ more testfile.txt
> chris@...mer:~$ ls -al testfile.txt
> - -rw-r--r--    1 chris    users           0 Apr  7 12:44 testfile.txt
> chris@...mer:~$

i don't understand your problem.
i tried:
[nico@...de:~] $ ls -al test
-rw-r--r--    1 nico     users           6 2004-04-08 11:46 test
[nico@...de:~] $ test>test
[nico@...de:~] $ ls -al test
-rw-r--r--    1 nico     users           0 2004-04-08 11:47 test

but it is not wondering because you put the output of the first command
in the file after the >. because you have not a real command and you
have no real output you overwrite the file with an empty output stream
and the file is 0 byte after it.
haven't i understand your problem correctly?
regards nico
-- 
Nico Golde                | nico@...lde.de      | 310777820@ICQ | nion@....net
http://www.ngolde.de      | GnuPG Key: http://www.ngolde.de/gpg/nico_golde.gpg
Fingerprint               | FF46 E565 5CC1 E2E5 3F69  C739 1D87 E549 7364 7CFF 
vim -c   ":%s/^/WhfgTNabgureRIvzSUnpxreT-Tavba/|:%s/[R-T]/ /Ig|:normal ggVGg?"


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ