我写了一段代码:<html>
<head><title>Result</title></head>
<body>
<?php
$source=$_POST['source'];
echo file_put_contents("/home/slim/tmp/main.c",$source);
?>
</body>
</html>运行的时候出现:Warning: file_put_contents(/home/slim/tmp/main.c) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/study/submit.php on line 6请问如何设置文件夹的权限?