Netbeans automatically changes the file owner when updating files
- by Alon_A
We use Netbeans IDE 7.2 to edit our PHP files.
In the Run Configuration it is configured as Remote Web Site to automatically save the changes on our web server (Centos OS 6.3).
The problem is that every time it is updating the files the owner of the file is changed from apache:apache to userThatUploadedTheFile:users. This causes us problems with SOAP cache files that are configured with apache:apache ownership, and we need to manually chownit back to apache:apache.
We've checked the "Preserve Remote File Permissions" checkbox, so the permissions are not changed, only the owner.
Is there any solution to preserve the ownership ?