-bash: /dev/null: Permission denied and growing size
hi guys
I gotta a Centos 5.0 that suddenly every time I log in I get this Code:
-bash: /dev/null: Permission denied Code:
ls -lh /dev/null Code:
ls -lh /dev/null also notice the last modification time is equal to my date and the file is 7MB???? 2. How can I get it back to its original file type? for permissions would be chmod 644 but for file type? or Can I copy the file from another server working fine? thanks a lot |
Somebody deleted / moved / overwrote /dev/null. Do (from man null):
Code:
rm /dev/null && mknod -m 666 /dev/null c 1 3 && chown root:root /dev/null |
thanks a lot
you are the man |
.....
|
All times are GMT -5. The time now is 07:25 AM. |