[rt-users] mkdir /other/rt3/var/mason_data/obj: Permission denied
Paulo Pinto
japh at cat.afraid.org
Mon Jul 28 16:13:19 EDT 2003
Hi
Just installed perl-5.8.0 + apache + mod_+perl and got the same error ...
It was a simple matter of "who's running the httpd":
- before the update, it was user=apache, group=apache.
- After the update it was user=nobody, group=nobody.
Quick and dirty:
Check who owns /other/rt3/var/mason_data/obj . If it is apache.apache, change your httpd.conf accordingly (i.e, run httpd as apache.apache).
Hope it helps.
*********** REPLY SEPARATOR ***********
On 28-07-2003 at 14:48 Frans Lawaetz wrote:
>Hi,
>
>I know this isn't the first time this thread has been created but as I've
>not found a solution in the mail archives I can't think of anything but to
>open it anew.
>
>I've been trying to get RT running on an up2date Red Hat 8.0 installation
>with little luck.
>I'm running httpd-2.0.40-11.5 with mod_perl-1.99_05-3, both RPM
>installations (all-in-all its a fairly vanilla system).
>
>As previous users have also attempted I tried creating the directory in
>question and gave it 777 permissions all to no avail. It seems like apache
>is denying the module rights to perform modifications to the filesystem
>rather than their being any permission problem with the fs itself.
>
>I can't think of anything else to try so any input would be greatly
>appreciated!
>
>Thanks,
>Frans
>
>mkdir /other/rt3/var/mason_data/obj: Permission denied at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm line 102
>
>
>Trace begun at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Exceptions.pm line
>131
>HTML::Mason::Exceptions::rethrow_exception('mkdir
>/other/rt3/var/mason_data/obj: Permission denied at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm line 102^J')
>called at /usr/lib/perl5/5.8.0/Carp.pm line 191
>Carp::croak('mkdir /other/rt3/var/mason_data/obj: Permission denied')
>called
>at /usr/lib/perl5/5.8.0/File/Path.pm line 150
>File::Path::mkpath('/other/rt3/var/mason_data/obj', 0, 509) called at
>/usr/lib/perl5/5.8.0/File/Path.pm line 143
>File::Path::mkpath('/other/rt3/var/mason_data/obj/standard', 0, 509) called
>at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Compiler/ToObject.pm line 102
>HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file',
>'/other/rt3/var/mason_data/obj/standard/index.html', 'source',
>'HTML::Mason::ComponentSource=HASH(0x9354390)') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 308
>HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x909d58c)',
>'/index.html') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 199
>eval {...}('HTML::Mason::Interp=HASH(0x909d58c)', '/index.html') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm line 186
>HTML::Mason::Request::_initialize('HTML::Mason::Request::ApacheHandler=HASH(
>0x9354348)') called at /usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Request.pm
>line 166
>HTML::Mason::Request::new('HTML::Mason::Request::ApacheHandler',
>'error_mode', 'output', 'error_format', 'html', 'interp',
>'HTML::Mason::Interp=HASH(0x909d58c)', 'comp', '/index.html', 'args',
>'ARRAY(0x8fd3070)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x909a984)',
>'apache_req', 'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 60
>HTML::Mason::Request::ApacheHandler::new('HTML::Mason::Request::ApacheHandle
>r', 'error_mode', 'output', 'error_format', 'html', 'interp',
>'HTML::Mason::Interp=HASH(0x909d58c)', 'comp', '/index.html', 'args',
>'ARRAY(0x8fd3070)', 'ah', 'HTML::Mason::ApacheHandler=HASH(0x909a984)',
>'apache_req', 'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 265
>Class::Container::call_method('HTML::Mason::Interp=HASH(0x909d58c)',
>'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x909d58c)', 'comp',
>'/index.html', 'args', 'ARRAY(0x8fd3070)', 'ah',
>'HTML::Mason::ApacheHandler=HASH(0x909a984)', 'apache_req',
>'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/Class/Container.pm line 343
>Class::Container::create_delayed_object('HTML::Mason::Interp=HASH(0x909d58c)
>', 'request', 'interp', 'HTML::Mason::Interp=HASH(0x909d58c)', 'comp',
>'/index.html', 'args', 'ARRAY(0x8fd3070)', 'ah',
>'HTML::Mason::ApacheHandler=HASH(0x909a984)', 'apache_req',
>'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/Interp.pm line 213
>HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x909d58c)',
>'comp', '/index.html', 'args', 'ARRAY(0x8fd3070)', 'ah',
>'HTML::Mason::ApacheHandler=HASH(0x909a984)', 'apache_req',
>'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 862
>HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH
>(0x909a984)', 'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/usr/lib/perl5/site_perl/5.8.0/HTML/Mason/ApacheHandler.pm line 789
>HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(
>0x909a984)', 'Apache::RequestRec=SCALAR(0x9098c10)') called at
>/other/rt3/bin/webmux.pl line 118
>RT::Mason::handler('Apache::RequestRec=SCALAR(0x9098c10)') called at -e
>line
>0
>eval {...}('Apache::RequestRec=SCALAR(0x9098c10)') called at -e line 0
>
>_______________________________________________
>rt-users mailing list
>rt-users at lists.fsck.com
>http://lists.fsck.com/mailman/listinfo/rt-users
>
>Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm
More information about the rt-users
mailing list