[rt-users] New Permissions Errors w/ RT 3.4.0

Brian W. Spolarich bwspolarich at uscar.org
Wed Apr 6 12:15:54 EDT 2005


  I have been running RT 3.4.0 under RHEL3.0 for some time now without
problems.

  Something has changed in the environment that is causing umask or
permissions problems w/ Mason.

  E.g.

  Trying to request /rt/Admin/Queues/index.html:

  Results in:

error:   	Couldn't create object file
/opt/rt3/var/mason_data/obj/standard/Admin/Queues/index.html: Permission
denied
context:  	
...  	
313:  	{
314:  	if ($tries++ == 3) {
315:  	$self->_compilation_error( $source->friendly_name, "Could not
load or recreate object file after 3 tries" );
316:  	}
317:  	if ($objfilemod < $srcmod) {
318:  	$self->compiler->compile_to_file( file => $objfile, source =>
$source);
319:  	}
320:  	$comp = eval { $self->eval_object_code( object_file => $objfile
) };
321:  	
...  	
code stack:  	/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:317
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:198
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm:166
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:68
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:275
/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm:353
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm:222
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:899
/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm:824
/opt/rt3/bin/webmux.pl:132
-e:0

  Here are the permissions on the Queues directory:
d---------    2 apache   apache       4096 Apr  6 12:12 Queues

  If I fix the permissins (755) then things proceed, but as soon as
Mason has to compile and create a new file the problem recurs.

  Suggestions?  This was working fine not that long ago, but something
has obviously changed.

  -bws

--
Brian W. Spolarich ~ IT Consultant ~ USCAR ~ +1-248-223-9044




More information about the rt-users mailing list