in reply to Re: Win32::Perms for ActivePerl 5.12/5.10 x64
in thread Win32::Perms for ActivePerl 5.12/5.10 x64

Hi Marmot, Thanks for your reply. My system is required to migrated to Win2008 X64, the Perl scripts is a part of the system, so I don't want my Perl has to keep at the 32 bit version due to this module Win32::Perms, can you please help to give a suggestion which module can replace Win32::Perms and implemented the same function(get/change a file's owner)???
  • Comment on Re^2: Win32::Perms for ActivePerl 5.12/5.10 x64

Replies are listed 'Best First'.
Re^3: Win32::Perms for ActivePerl 5.12/5.10 x64
by syphilis (Archbishop) on Oct 15, 2010 at 04:13 UTC
    can you please help to give a suggestion which module can replace Win32::Perms

    Not sure it does what you want but Win32::FileSecurity, which ships with ActivePerl, might be worth checking.
    I was wondering if Set( $filename, \%permisshash ); would enable you to do what you want.

    Cheers,
    Rob
      Hi Rob, after check Win32:FileSecurity, I think it doesn't meet my needs, Win32:FileSecurity is about the file control permission, I want the module can get a file's owner and change a file's owner to another user, any other suggestion? Win32:OLE use VBscript can do this or not?