rm-ing files with open file descriptors
Quoted 9 lines · Miquel van Smoorenburg
According to Horst von Brand:
Quoted 4 lines
Quoted 1 line
I now have a flink-test2.txt file. That is pretty cool ;)
This is a possible security risk: The unlinking program thinks the file is forever inaccessible, but it isn't...
Why. If you keep an fd open to it it's accessible anyway, and if you like you can copy it to a new file. Or you could link(2) it beforehand, etc etc
Right. So the "staying around in /proc" is a risk.
Signature · 1 line
Horst von Brand http://counter.li.org # 22616