Netbeans automatically changes the file owner when updating files
Posted
by
Alon_A
on Server Fault
See other posts from Server Fault
or by Alon_A
Published on 2012-11-08T10:04:55Z
Indexed on
2012/11/08
11:06 UTC
Read the original article
Hit count: 175
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 chown
it 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 ?
© Server Fault or respective owner