Web Hosting Talk







View Full Version : How to chown files owned by Apache?


biosphere
04-19-2003, 06:03 PM
I'm having a problem with one of my shared web hosting accounts. I've installed a groupware system (moregroupware). Among other things, this script includes a file upload system. But the files are supposed to be uploaded to a directory called "store", but this directory is owned by Apache, and I can't chown to make it writable.

Are there any ways to change this? Or is it necessary to go through tech support?

Input appreciated.

biosphere

teck
04-19-2003, 06:16 PM
The only way to chown files owned by the system is to be superuser.

ilyash
04-19-2003, 11:46 PM
use a non tomcat script

garrence
05-01-2003, 04:58 PM
You could ask tech support to chown and chmod the directory so it is owned by apache, has the same group as you and has the sticky bit on the group. It should be set up so files are automatically group read/writable.
Then both apache and yourself can read/write the files.