Vitaly Tskhovrebov <vt <at> chgk.info> writes: > > Hello. Taking error like: > Couldn't create object file > /opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues/Scrips.html.obj: > Permission denied > > apache is running under apache user. > > [root <at> nixtool Queues]# ls -l > total 92 > -rw-r--r-- 1 apache apache 3965 Jun 13 11:52 CustomFields.html.obj > -rw-r--r-- 1 apache apache 4733 Jun 13 03:04 GroupRights.html.obj > -rw-r--r-- 1 apache apache 9570 Jun 13 03:04 index.html.obj > -rw-r--r-- 1 apache apache 23046 Jun 13 03:04 Modify.html.obj > -rw-r--r-- 1 apache apache 14226 Jun 14 07:33 People.html.obj > -rw-r--r-- 1 apache apache 3637 Jun 13 11:52 Templates.html.obj > [root <at> nixtool Queues]# pwd > /opt/rt4/var/mason_data/obj/3452818388/standard/Admin/Queues > > So it's created somehow other files. What's wrong with Scrips? > > RT4
I'm not sure exactly what caused this, maybe running the rt-server before running it in Apache? Either way, I chown-ed the entire var/mason_data directory to the user that Apache was using, and now it runs perfectly. (Apache 2.2.14, Ubuntu Server 10.04, RT 4.0.1) root@RT4:/opt/rt4# chown www-data:www-data -R var/mason_data Kelvin -------- 2011 Training: http://bestpractical.com/services/training.html
