chmod Operation not permitted
Posted: Thu Jun 04, 2015 9:01 am
Добрый день,
CentOS 6.6 (x86_64)
vesta core package Version: 0.9.8 (x86_64)
vesta-php php interpreter Version: 0.9.7 (x86_64)
vesta-nginx internal web server Version: 0.9.8 (x86_64)
На сервере есть файл: function.php в нём
ошибка:
Также не работает file_put_contents
Permission на function.php 0777
В чем может быть проблема?
CentOS 6.6 (x86_64)
vesta core package Version: 0.9.8 (x86_64)
vesta-php php interpreter Version: 0.9.7 (x86_64)
vesta-nginx internal web server Version: 0.9.8 (x86_64)
На сервере есть файл: function.php в нём
Code: Select all
<?php chmod('text.txt', 0777); ?>
Code: Select all
Warning: chmod(): Operation not permitted in /home/admin/web/mydomain.com/public_html/function.php on line 1
Permission на function.php 0777
В чем может быть проблема?