Hi Keith, I am not sure I understand 100% what permissions to the "perl mode" means. But the line calling File::Path in /usr/sbin/webmux.pl refers to "$RT::MasonDataDir", which points to /var/cache/rt/mason_data/. The content and permissions of that folder is the following: drwxrwx--- 5 apache apache 38 2011-01-18 01:06 ./ drwxr-xr-x 4 root root 42 2011-01-18 01:06 ../ drwxrwx--- 2 apache apache 6 2011-01-18 01:06 cache/ drwxrwx--- 2 apache apache 6 2011-01-18 01:06 etc/ drwxrwx--- 3 apache apache 50 2011-01-18 01:06 obj/ The "obj" dir has session related files in it (That are recreated by apache if I empty the folders) all created by apache, and apache also has the permissions to delete the files It looks like webmux.pl is trying to clean out the /var/cache/rt/mason_data/obj folder and failing for some reason, with "Insecure dependency in mkdir while running with -T switch at /usr/lib/perl5/5.10.1/File/Path.pm line 108, line 2. " if ( $ENV{'MOD_PERL'} && !RT->Config->Get('DevelMode')) { # Under static_source, we need to purge the component cache # each time we restart, so newer components may be reloaded. # # We can't do this in FastCGI or we'll blow away the component # root _every_ time a new server starts which happens every few # hits. require File::Path; require File::Glob; my @files = File::Glob::bsd_glob("$RT::MasonDataDir/obj/*"); File::Path::rmtree([ @files ], 0, 1) if @files; } 1; Kim P On 2011-01-18 02:32, Schincke, Keith D. (JSC-IT)[DB Consulting Group, Inc.] wrote: What are the directory permissions to the perl mode? |
- [rt-users] webmux.p... Kim Pedersen
- Re: [rt-users]... Alex Vandiver
- Re: [rt-users]... Schincke, Keith D. (JSC-IT)[DB Consulting Group, Inc.]