[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bash,/dev/null and errors



Dear Andrea


>bash: /dev/null : permission denied

something similar happened to me some time ago.
http://lists.debian.org/debian-italian/2004/04/msg00308.html

/dev/null is a special file : ls -l /dev/null returns:

crw-rw-rw-  1 root root 1, 3 2006-02-13 09:29 /dev/null

>even chmodding 777 (as root) /dev/null did not solve the problem.

In my case /dev/null had become (nobody knows how) a standard file, so
many programs couldn't write on it and the just stopped.

Check your permissions, and in case restore /dev/null as should.

Hope that helps

Edo

-- 
Edoardo Pasca
 Kamerlingh Onnes Laboratory
  Leiden Universiteit
  P.O.box 9504 
  NL-2300 RA Leiden 
Tel: +31 71 527 5420 
Fax: +31 71 527 5404



Reply to: