/dev/null permission denied
Posted by: cisiwh
Posted on: 2008-05-30 00:44:00
One of my cron jobs has failed these past 2 nights with msg:
/bin/sh: line 1: /dev/null: Permission denied
from a redirect of stdout to /dev/null.
Just had a look from the shell and I see:
[pan]$ ls -la /dev/null
crw------- 1 root root 1, 3 2006-03-28 17:43 /dev/null
[pan]$ ls > /dev/null
-bash: /dev/null: Permission denied
Is it just me who's seeing this? What happened to write-permission for /dev/null?!