On Mon, Aug 13, 2012 at 05:45:40PM +0000, Bart Martens wrote: > Hi Nick, > > Why not simply use touch and chmod ? > > | touch file.txt > | chmod 600 file.txt > | echo secret > file.txt
It's still susceptible to reading, by someone opening the file inbetween the touch and the chmod. Admittedly a much narrower window of insecurity but still there. Nick -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org