I've never run into this particular problem, but a good place to check would
be the [EMAIL PROTECTED] mailing list.  It might be worth subscribing.
http://lists.perl.org/showlist.cgi?name=dbi-users 

-----Original Message-----
From: Paul Jansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 19, 2003 11:51 PM
To: [EMAIL PROTECTED]
Subject: unprivileged userID's and loading DLL's


This is infuriating me.  I've done lots of web
searches with various terms and have come up with
nothing but the same question from others.  I'm hoping
someone might be able to help?

I'm running a perl script as a CGI-app under apache on
a windows NT box.  Apache is running is a regular pleb
user with not many rights.  The script wants to use
DBD::ODBC to get at an access database on the local
machine.
I get this error:

Can't load 'd:/Perl/site/lib/auto/DBD/ODBC/ODBC.dll'
for module DBD::ODBC: load_file:Access is denied at
d:/Perl/lib/DynaLoader.pm line 200.
 at d:\apache\cgi-bin\DISK_S~2.PL line 8
Compilation failed in require at
d:\apache\cgi-bin\DISK_S~2.PL line 8.
BEGIN failed--compilation aborted at
d:\apache\cgi-bin\DISK_S~2.PL line 8.

I've logged on as the apache user and verified that it
has rights to get at this dll.  It had read rights and
I even changed it to 'full control'  but that didn't
make any difference.  If I put the apache user in the
administrators group the script runs fine so obviously
this si a 'rights' issue.
I've gone through the advanced user rights and I tried
'load and unload device drivers' but giving that to
the apache user hasn't helped.
Surely someone has come across this before and found a
fix.
Thanks in advance for any tips to solve this one!

PJ

http://mobile.yahoo.com.au - Yahoo! Mobile
- Exchange IMs with Messenger friends on your Telstra or Vodafone mobile
phone.
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to