Whenever netbeans delays ftp loading, files are downloaded with permissions set to 640. This causes PHP to cause the following error:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/Library/WebServer/Documents/notes/index.php' (include_path='.:/usr/local/php5/lib/php') in Unknown on line 0
While I can clear it fast chmod o+r ./*on the command line, it forces netbeans to re-synchronize the entire project the next time I click run, which in turn sets the permissions to 640.
I need a way to make netbeans upload files with permissions set to 644.
source
share