I installed 9.1 a few weeks ago, and just recently discovered that 
non-root users can't run perl scripts.  If I run any script with 
#!/usr/bin/perl in the first line, I get something like this:

-bash: ./test.pl: /usr/bin/perl: bad interpreter: Permission denied


The script itself is executable, and permissions are correct on Perl.
(/usr/bin/perl is a link to perl5, which is a link to 5.8.0, which is 755)

There are no \r's or other odd characters in the shebang line.

There are no acl's set on any of /usr/bin/perl* or the parent directories.

Any normal user can execute /usr/bin/perl somescript.pl, but can't run 
somescript.pl by itself.


If this is a problem with the default Mandrake setup then I'm sure the 
question has been asked before, but I haven't found any suggestions on 
Google except the usual things above.  Is there anything else that can 
cause this?  Maybe extra restrictions set in kernel-secure?  I can't 
imagine why someone would think that's a security feature.  And for the 
bonus question, how can I undo whatever it is that prevents users from 
running perl normally?

Appreciate any thoughts.

Ryan


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to