Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't check it right now but I do wonder whether /dev/null as a filename would have worked.

Does somebody know?



I guess it would've. I tried to think of stuff that lives under /etc mv -- didn't think of /dev/null. However the "empty filename fall trough" is better as it also works under a chroot without such files available.


Agreed, and I used it but I was really surprised that it worked!


You could also pass it nothing, e.g. ?filename=&attempt=


Yes, I used /dev/null.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: