在学校服务器的shell上,我有
Normal Rights:
system:administrators rlidwka
http rl
yfc439 rlidw
httpsvc.webhost03.ucs.njit.edu rl
我究竟如何更改http的权限,因为在php文件中,我说:
<?php
$file = fopen("test.txt","w") or die("error");
echo fwrite($file,"Hello World. Testing!");
fclose($file);
?>
一旦我在浏览器上打开php文件,php就不会写到test.txt
答案 0 :(得分:1)
尝试:
fs setacl ~/public_html/some.dir http write