PHP chmod permission denied -


i using mac , try unlink file via php:

$old_path = 'tmp/table.csv'; if(file_exists($old_path)){    chmod($old_path, 777);    unlink($old_path); } 

it looks chmod permission denied. searched online no ideas. says chown, how work?

the user executing command has no rights execute chmod command.


Comments

Popular posts from this blog

codeigniter - Fatal error: Call to undefined function lang() in CI Merchant using CardSave -

javascript - CasperJS/PhantomJS failing SSL handshakes on some sites even with --ssl-protocol=any -

python - Received unregistered task using Celery with Django -