Ubuntu: Can’t redirect standard input from /dev/null
by admin on Aug.11, 2010, under Linux (Ubuntu)
I’ve often came accross the following error message when executing a batch file :
bash: cannot redirect standard input from /dev/null: Permission denied
bash: /dev/null: Permission denied
Luckily I’ve found an easily solution to get rid of this annoying error message. You simply need to chmod /dev/null like that :
chmod ugo+rw /dev/null
That’s it, the error message shouldn’t occur anymore 🙂
March 22nd, 2011 on 13:05
Thanks for that awesome posting. It saved MUCH time 🙂