[Dev] [Maintenance] Cron <parabolaweb at parabola> cd /srv/http/www.parabola.nu/web && ./manage.py mirrorresolv && ./manage.py mirrorcheck -l 1

Luke Shumaker lukeshu at sbcglobal.net
Sat Apr 18 20:05:57 GMT 2015


On Sat, 18 Apr 2015 15:47:08 -0400,
(Cron Daemon) wrote:
> 
> sh: /dev/null: Permission denied
> sh: /dev/null: Permission denied
> sh: /dev/null: Permission denied

This is the same error that made me reboot the server last night.
I've also seen it on my desktop (once) and the lukeshu.com server (once).

What happens is /dev/null becomes a regular file (not a character
device) that has mode 0600, owned by root.

This time, I just ran

    sudo rm /dev/null && sudo mknod -m 0666 /dev/null c 1 3

to fix it.  I don't believe there are any other affected files in
/dev/.

We really should try to figure out what causes this.

--
Happy hacking,
~ Luke Shumaker



More information about the Dev mailing list