[freeside-users] mkdir permission denied

vlad stereomind at gmail.com
Sat Aug 25 19:25:33 PDT 2012


Try setting selinux to permissive...


Vlad


On Sat, Aug 25, 2012 at 2:41 PM, Mike Cavanagh <mcavanagh at xillient.com>wrote:

> I tried to research on the web, but could not find help.****
>
> ** **
>
> When I try to login to the website, I get the following error (see full
> error info below):****
>
> mkdir /usr/local/etc/freeside/masondata/obj/3572290338: Permission denied*
> ***
>
> ** **
>
> Permissions on the directory are:****
>
> # ls -ladsi /usr/local/etc/freeside/masondata/obj****
>
> 1579258 4 drwxrwx---. 2 freeside freeside 4096 Aug 24 12:52
> /usr/local/etc/freeside/masondata/obj****
>
> ** **
>
> The webserver runs as: User freeside, Group freeside****
>
> Login username: mcavanagh****
>
> ** **
>
> DocumentRoot = /var/www/html/freeside****
>
> /var/www/html/freeside/.htaccess****
>
>           AuthName        Freeside****
>
> AuthType        Basic****
>
> require valid-user****
>
> ** **
>
> /usr/local/etc/freeside/htpasswd****
>
>           mcavanagh:***************
>
> ** **
>
> Any thoughts?****
>
> Thanks,****
>
> Mike****
>
> ** **
>
> ** **
>
> Full Error Info:****
>
> *error:*  mkdir /usr/local/etc/freeside/masondata/obj/3572290338:
> Permission denied at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm
> line 110.
> *context:*  ****
>
> *...* ****
>
> *96:* ****
>
> local @CARP_NOT = $cgc ? $cgc->() : caller();****
>
> *97:* ****
>
> shortmess_heavy(@_);****
>
> *98:* ****
>
> }****
>
> *99:* ****
>
> *100:* ****
>
> sub croak { die shortmess @_ }****
>
> *101:* ****
>
> sub confess { die longmess @_ }****
>
> *102:* ****
>
> sub carp { warn shortmess @_ }****
>
> *103:* ****
>
> sub cluck { warn longmess @_ }****
>
> *104:* ****
>
> *...* ****
>
> *code stack:*  /usr/local/share/perl5/Carp.pm:100
> /usr/share/perl5/File/Path.pm:156
> /usr/share/perl5/File/Path.pm:114
> /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm:110
> /usr/local/share/perl5/HTML/Mason/Interp.pm:440
> /usr/local/share/perl5/HTML/Mason/Request.pm:252
> /usr/local/share/perl5/HTML/Mason/Request.pm:215
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:97
> /usr/local/share/perl5/FS/Mason/Request.pm:29
> /usr/local/share/perl5/Class/Container.pm:275
> /usr/local/share/perl5/Class/Container.pm:353
> /usr/local/share/perl5/HTML/Mason/Interp.pm:351
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:871
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:822
> /usr/local/etc/freeside/handler.pl:92
> -e:0****
>
> ** **
>
> =========****
>
> ** **
>
> mkdir /usr/local/etc/freeside/masondata/obj/3572290338: Permission denied
> at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm line 110.****
>
> ** **
>
> ** **
>
> Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 129***
> *
>
> HTML::Mason::Exceptions::rethrow_exception('mkdir
> /usr/local/etc/freeside/masondata/obj/3572290338: Permission denied at
> /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm line 110.^J') called
> at /usr/local/share/perl5/Carp.pm line 100****
>
> Carp::croak('mkdir /usr/local/etc/freeside/masondata/obj/3572290338:
> Permission denied') called at /usr/share/perl5/File/Path.pm line 156****
>
> File::Path::_mkpath('HASH(0x7f843077d9e8)', 'ARRAY(0x7f842fc662c8)')
> called at /usr/share/perl5/File/Path.pm line 114****
>
> File::Path::mkpath('/usr/local/etc/freeside/masondata/obj/3572290338', 0,
> 509) called at /usr/local/share/perl5/HTML/Mason/Compiler/ToObject.pm line
> 110****
>
> HTML::Mason::Compiler::ToObject::compile_to_file(undef, 'file',
> '/usr/local/etc/freeside/masondata/obj/3572290338/index.html.obj',
> 'source', 'HTML::Mason::ComponentSource=HASH(0x7f842fbd9d10)') called at
> /usr/local/share/perl5/HTML/Mason/Interp.pm line 440****
>
> HTML::Mason::Interp::load('HTML::Mason::Interp=HASH(0x7f842919fcd0)',
> '/index.html') called at /usr/local/share/perl5/HTML/Mason/Request.pm line
> 252****
>
> eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 235****
>
> HTML::Mason::Request::_initialize('FS::Mason::Request=HASH(0x7f8430d0ab60)')
> called at /usr/local/share/perl5/HTML/Mason/Request.pm line 215****
>
> HTML::Mason::Request::new('FS::Mason::Request', 'error_mode', 'output',
> 'error_format', 'html', 'interp',
> 'HTML::Mason::Interp=HASH(0x7f842919fcd0)', 'comp', '/index.html', 'args',
> 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)', 'container',
> 'HASH(0x7f8429254240)') called at
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 97****
>
> HTML::Mason::Request::ApacheHandler::new('FS::Mason::Request',
> 'error_mode', 'output', 'error_format', 'html', 'interp',
> 'HTML::Mason::Interp=HASH(0x7f842919fcd0)', 'comp', '/index.html', 'args',
> 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)', 'container',
> 'HASH(0x7f8429254240)') called at
> /usr/local/share/perl5/FS/Mason/Request.pm line 29****
>
> FS::Mason::Request::new('FS::Mason::Request', 'error_mode', 'output',
> 'error_format', 'html', 'interp',
> 'HTML::Mason::Interp=HASH(0x7f842919fcd0)', 'comp', '/index.html', 'args',
> 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)', 'container',
> 'HASH(0x7f8429254240)') called at /usr/local/share/perl5/Class/Container.pm
> line 275****
>
> Class::Container::call_method('HTML::Mason::Interp=HASH(0x7f842919fcd0)',
> 'request', 'new', 'interp', 'HTML::Mason::Interp=HASH(0x7f842919fcd0)',
> 'comp', '/index.html', 'args', 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)', 'container',
> 'HASH(0x7f8429254240)') called at /usr/local/share/perl5/Class/Container.pm
> line 353****
>
> Class::Container::create_delayed_object('interp',
> 'HTML::Mason::Interp=HASH(0x7f842919fcd0)', 'comp', '/index.html', 'args',
> 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)', 'container',
> 'HASH(0x7f8429254240)') called at
> /usr/local/share/perl5/HTML/Mason/Interp.pm line 351****
>
> HTML::Mason::Interp::make_request('HTML::Mason::Interp=HASH(0x7f842919fcd0)',
> 'comp', '/index.html', 'args', 'ARRAY(0x7f842919adc8)', 'ah',
> 'HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)', 'apache_req',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)') called at
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 871****
>
> eval {...} at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 870*
> ***
>
> HTML::Mason::ApacheHandler::prepare_request('HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)') called at
> /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 822****
>
> HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f84291aa1b0)',
> 'Apache2::RequestRec=SCALAR(0x7f8426f38a20)') called at
> /usr/local/etc/freeside/handler.pl line 92****
>
> eval {...} at /usr/local/etc/freeside/handler.pl line 92****
>
> HTML::Mason::handler('Apache2::RequestRec=SCALAR(0x7f8426f38a20)') called
> at -e line 0****
>
> eval {...} at -e line 0****
>
> ** **
>
> ** **
>
> ** **
>
> _______________________________________________
> freeside-users mailing list
> freeside-users at freeside.biz
> http://freeside.biz/cgi-bin/mailman/listinfo/freeside-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://freeside.biz/pipermail/freeside-users/attachments/20120825/0b06d65b/attachment-0001.html>


More information about the freeside-users mailing list