OpenVZ Forum


Home » General » Support » /dev/null permission denied
Re: /dev/null permission denied [message #25668 is a reply to message #24676] Sun, 06 January 2008 17:06 Go to previous messageGo to previous message
beyondx is currently offline  beyondx
Messages: 21
Registered: October 2007
Junior Member
Hi everyone,

thanks for your participation in this weird problem. Luckily I could already figure it out myself by having a closer look at the bug report 398.

There you find the following line to set up the rights for the devices such as dev/null

vzctl set <id> --devices c:5:2:rw --save

This setup helped and actually solved the problem.

Before using this command I followed the Howto:"physical to VE", which suggests:

rm -f /vz/private/123/dev/null (if null exists)
mknod /vz/private/123/dev/null c 1 3

This command set the permissions crw-r--r--, which lead to the conflict.

Maybe someone could add this to the wiki.

Greetings,

Norman

PS: Sorry, if this solutions was more than obvious to some of you...I´m still a linux noob :-/
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Unable to fork: Cannot allocate memory but websites loading
Next Topic: Force date shift in VM
Goto Forum:
  


Current Time: Mon Aug 12 15:14:22 GMT 2024

Total time taken to generate the page: 0.02741 seconds