in reply to Re: Why I get a display "Access is denied" when i run my perl script on my pc?
in thread Why I get a display "Access is denied" when i run my perl script on my pc?

Hi,

I did unzip all my perl file by using cygwin. But when i ran perl my.pl, it worked.

the result for executing the cacls my.pl is:

Microsoft Windows XP Version 5.1.2600

C:\Mc2_v2\Metcalf1\bin>cacls metcalf.pl

C:\Mc2_v2\Metcalf1\bin\Metcalf.pl WTAM\cxu:(special access:)

STANDARD_RIGHTS_ALL

DELETE

READ_CONTROL

WRITE_DAC

WRITE_OWNER

SYNCHRONIZE

STANDARD_RIGHTS_REQUIRED

FILE_GENERIC_READ

FILE_GENERIC_WRITE

FILE_READ_DATA

FILE_WRITE_DATA

FILE_APPEND_DATA

FILE_READ_EA

FILE_WRITE_EA

FILE_READ_ATTRIBUTES

FILE_WRITE_ATTRIBUTES

BUILTIN\Users:(special access:)

READ_CONTROL

SYNCHRONIZE

FILE_GENERIC_READ

FILE_READ_DATA

FILE_READ_EA

FILE_READ_ATTRIBUTES

Everyone:(special access:)

READ_CONTROL

SYNCHRONIZE

FILE_GENERIC_READ

FILE_READ_DATA

FILE_READ_EA

FILE_READ_ATTRIBUTES

Thanks,

Cindy

  • Comment on Re^2: Why I get a display "Access is denied" when i run my perl script on my pc?