in reply to Why use OCX on Win32?

Hi,

something you havnt mentioned and may already have discounted is write a perl wrapper around the cacls or xcacls command(s) (instead of using Win32::Perms). It's (cacls) comes with every nt system from nt4 up (and maybe previous ones to).

Hope this helps.
Displeaser

Replies are listed 'Best First'.
Re^2: Why use OCX on Win32?
by bowei_99 (Friar) on Apr 04, 2006 at 17:28 UTC
    I tried that, too. I get this when I try it on a share:

    H:\working_files\win32>xcacls G:\IG-S G:\IG-S <Account Domain not found>(OI)(CI)C BUILTIN\Administrators:(OI)(CI)F DOMAIN1\Domain Admins:(OI)(CI)F AD-DOMAIN\LabOps Admins:(OI)(CI)F NT AUTHORITY\SYSTEM:(OI)(CI)F BUILTIN\Users:(CI)R
    So I did a google search, and found this link and this link, in addition to this link at the Microsoft knowledgebase, which seem to point to the unreliability of xcalcs. Although the knowledgebase article says it's only for NT 4, we're running Win2k, with all the needed patches.

    So maybe it's something wrong with the OS itself ...

    -- Burvil