dantheman1210 has asked for the wisdom of the Perl Monks concerning the following question:
I am running solaris 8 and perl 5.005_02.
Running a simple example as root is successful:
I have also verified that I can run perl as the cnow user with a simple script:
Please help, it is sucking the life out of me!!!
Running a simple example as root is successful:
But running the same example from another user fails:root# perl -e 'print"Hello World\n";' Hello World root#
I have verified that my cnow user has execute permission for perl:cnow> perl -e 'print "hello world\n";' Can't open perl script "-e": Permission denied cnow>
And that both root and cnow users are running the same perl executable.ls -al /usr/local/bin/perl -r-xr-xr-x 1 root other 818096 Jan 24 2002 /usr/local/bin/pe +rl*
I have also verified that I can run perl as the cnow user with a simple script:
I am at a loss as to why I am getting the permission denied error.cnow> cat testPerl.pl #!/usr/local/bin/perl -w print "This is a test\n"; cnow> ./testPerl.pl This is a test cnow>
Please help, it is sucking the life out of me!!!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: perl -e problem
by dantheman1210 (Beadle) on May 20, 2005 at 22:19 UTC | |
by merzy (Scribe) on May 21, 2005 at 03:00 UTC | |
by benizi (Hermit) on May 22, 2005 at 22:15 UTC | |
Re: perl -e problem
by TheStudent (Scribe) on May 20, 2005 at 21:59 UTC | |
Re: perl -e problem
by samtregar (Abbot) on May 20, 2005 at 21:06 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:22 UTC | |
Re: perl -e problem
by ambrus (Abbot) on May 20, 2005 at 21:18 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:50 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:24 UTC | |
Re: perl -e problem
by Nkuvu (Priest) on May 20, 2005 at 21:07 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:23 UTC | |
Re: perl -e problem
by devnul (Monk) on May 20, 2005 at 21:35 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:45 UTC | |
Re: perl -e problem
by devnul (Monk) on May 20, 2005 at 21:40 UTC | |
by dantheman1210 (Beadle) on May 20, 2005 at 21:47 UTC | |
by devnul (Monk) on May 20, 2005 at 21:54 UTC |
Back to
Seekers of Perl Wisdom