[rt-users] Mason permissions problems

Josh josh+rt at eldertimes.us
Fri Mar 18 09:38:02 EST 2005


On Fri, Mar 18, 2005 at 09:08:28AM -0500, Josh wrote:
> Has anyone else seen this before:
> 
> error:    Couldn't create object file /opt/rt-3.4.1/var/mason_data/obj/standard/index.html
> <more debug output>
> 
> It seems that the Mason cache directories are being created with 0664
> permissions instead of something sensible like 0775.  I've looked for
> a umask setting all over but haven't been able to find one.  Any ideas?
> I can write a script that autocreates those directories every hour based
> on the existing directory structure, but that's a horrible hack.
> 

Ugh, hate it when I fix a problem right after I ask about it.  For the
archives, the solution was to put:

umask(0022);

in /opt/rt3/share/html/autoheader

right after <%INIT%>

-jkl



More information about the rt-users mailing list