OpenVZ Forum


Home » General » Support » File Permission
File Permission [message #10948] Fri, 09 March 2007 05:32 Go to next message
andyreed is currently offline  andyreed
Messages: 6
Registered: February 2007
Location: Minneapolis, MN
Junior Member
We're having a minor issue with file permission. One of our clients says that when using his Php script, the system set the permission to rw-------- or (600) to any file uploaded. In addition, when he adds/terminates an account the permission on httpd.conf will change from -rw-r--r-- or(644) to rw-------- or (600). I am not sure how to correct this problem without causing serious problems to his VPS. Throughout my reading of OpenVZ Guide, in page 66 it says we need to "grant the Virtual Private Server the permissions to work with the needed block devices." I ran a couple of commands, ls and less, and here is what I got:

less /etc/fstab
none /dev/pts devpts rw 0 0

ls -al /dev/pts
crw--w---- 1 root tty 136, 1 Mar 8 23:36 1

Any help is greatly appreciated

[Updated on: Fri, 09 March 2007 05:33]

Report message to a moderator

Re: File Permission [message #10950 is a reply to message #10948] Fri, 09 March 2007 09:33 Go to previous message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

I guess, your problem can be related to this one: http://forum.openvz.org/index.php?t=tree&th=1809&mid =9689&&rev=&reveal=

Vasily
Previous Topic: *SOLVED* /dev destroyed upon gnome install
Next Topic: *SOLVED* Question about NUMFILE parameter
Goto Forum:
  


Current Time: Mon Aug 05 16:24:38 GMT 2024

Total time taken to generate the page: 0.03410 seconds