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

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -