CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Win32 Programming Help:
windows permission issue with perl

 



jarthda
New User

Nov 22, 2006, 9:44 AM

Post #1 of 1 (2896 views)
windows permission issue with perl Can't Post

Here's the situation on windows 2003 server R2

Perl script waits for files to appear in certain directory then processes them to RDBMS. Since this script uses change notification it is always running. I have it running at machine startup as a scheduled task.

I have created a user account to run various perl scripts and assign it rights as needed. When I terminal service in using this perl user account the script works fine.

However, when I schedule it to run under the perl account and run that task terminal serviced in as an admin it does not work. Specifically it fails to read the list of files from the directory. @filelist = `dir $ROOT_DIRECTORY`;

I know the obvious permissions are correct because the script works when logged in as the perl user. Is there something about terminal services or scheduled tasks that is preventing the directory read?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives