Unlink permission dined


#1

$fa=fopen("./aaa.txt",“r”);
fclose($fa);
if($fa){
chmod("./aaa.txt", 0777);
unlink("./aaa.txt");
}

self soloved. like up…


#2

If your EXE runs in a write-protected folder, you won’t be able to delete nor write to files.