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 -

tags - Jquery Mixitup plugin help prevent handlers being destroyed -

c# - Delving into the world of XML (Windows Phone) Error I dont understand (The ' ' character, hexadecimal value 0x20, cannot be included in a name.) -