[rt-users] mkdir ... var/mason_data/obj: Permission denied

Michael D. Richards michael at emdee.net
Thu Jul 17 11:51:49 EDT 2003


Jim Mozley wrote:

>It might be worth trying perl from source or using the package version from
>www.sunfreeware.com before installing RT. This will add perl 5.8 under
>/usr/local. I use this approach rather than using Sun's build of perl,
>sunfreeware.com has had explanatory notes on this in the past.
>
Thanks for the feedback. The perl is built from source. It is a version 
controlled installation used across our enterprise. I have included the 
perl -V output below.

There are a few key things I have not been able to figure out:
Why is it trying to create a directory that exists?
Why is it giving a permission denied error when the directory is 770 and 
owned by the user Apache is running under?
And most of all, where is this reference to /usr/local/lib/perl5 coming 
from?

This is hurting my brain. :)

Perl -V:
Summary of my perl5 (revision 5.0 version 8 subversion 0) configuration:
  Platform:
    osname=solaris, osvers=2.8, archname=sun4-solaris
    uname='sunos cmsun02 5.8 generic_108528-13 sun4u sparc '
    config_args='-Dcc=gcc -Dprefix=/cm/tools/paks/perl-5.8.0 
-Dinstallstyle=lib/perl5 -Dvendorprefix=/cm/tools/apps 
-Dsiteprefix=/cm/tools/local -Uinstallusrbinperl -Accflags= 
-Dstartperl=#!/cm/tools/bin/perl -Dperladmin=XXX -Uuselargefiles -de'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=undef usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-fno-strict-aliasing -I/usr/local/include',
    optimize='-O',
    cppflags='-fno-strict-aliasing -I/usr/local/include'
    ccversion='', gccversion='2.96-gnupro-00r1', gccosandvers='solaris2.8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=4
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib /usr/ccs/lib
    libs=-lsocket -lnsl -ldl -lm -lc
    perllibs=-lsocket -lnsl -ldl -lm -lc
    libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -Wl,-E'
    cccdlflags='-fPIC', lddlflags=' -Wl,-E -G -L/usr/local/lib'


Characteristics of this binary (from libperl):
  Compile-time options:
  Built under solaris
  Compiled at Jul 11 2003 09:00:07
  @INC:
    /cm/tools/paks/perl-5.8.0/lib/perl5/5.8.0/sun4-solaris
    /cm/tools/paks/perl-5.8.0/lib/perl5/5.8.0
    /cm/tools/local/lib/perl5/site_perl/5.8.0/sun4-solaris
    /cm/tools/local/lib/perl5/site_perl/5.8.0
    /cm/tools/local/lib/perl5/site_perl
    /cm/tools/apps/lib/perl5/cm_perl/5.8.0/sun4-solaris
    /cm/tools/apps/lib/perl5/cm_perl/5.8.0
    /cm/tools/apps/lib/perl5/cm_perl
    .


Thanks,
Michael~




More information about the rt-users mailing list