File Permission [message #10948] |
Fri, 09 March 2007 05:32 |
|
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
|
|
|