Hi,
You did not write it, but I think you run the updater from console with user root, because the file are then owned by it.
If I'm wrong, please explain more !
I would do this :
- chown apache the script you run to do the update
- chmod +s it so it will be always executed by user apache rather than by real user who run it
Files it create will be now owned by user apache.
Hope it have sense...
(Note : this have nothing related to Sentora.)
You did not write it, but I think you run the updater from console with user root, because the file are then owned by it.
If I'm wrong, please explain more !
I would do this :
- chown apache the script you run to do the update
- chmod +s it so it will be always executed by user apache rather than by real user who run it
Files it create will be now owned by user apache.
Hope it have sense...
(Note : this have nothing related to Sentora.)