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

Line ending issue with Mercurial or Visual Studio -

java - Jtable duplicate Rows -

java - Run a .jar on Heroku -