Philip Newton (pne) wrote,
Philip Newton
pne

ls: /dev/null: No such file or directory

Bizarre. When I tried to upgrade a MySQL installation just now, I got this error message:

/usr/local/bin/mysql_fix_privilege_tables: cannot create /dev/null: Permission denied

That looked odd, since everyone should be able to write to that file, so I tried to see what was wrong:

$ ls -l /dev/null
ls: /dev/null: No such file or directory

Curiouser and curiouser.

After logging out and logging back in, though, /dev/null was back again (as a special file "0, 6"), and I was able to run the script.

Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 2 comments