my ($m_obj_dir) = new Win32::Perms($m_unc_path) or die "Cannot create Win32::Perms obj for $m_unc_path - $!\n" +; $m_obj_dir->Dump;
And when I run it, the information for the DACL displays OK, except for two groups local to the server with Win2K permissions (which is a netapp filer, but that shouldn't matter). Although there are lines for these groups (see output below), there is no account name. I confirmed using SetACL (setacl.sourceforge.net) and the Windows GUI (i.e. right click on folder, properties, select Permissions tab) that these do in fact correspond with real groups.
Descretionary ACL: Index Account Mask Type F +lag ----- ---------------------------------------- ---------- ---------- - +--------- <snip> 5 0x001301bf Allow 0 +x00000003 6 0x001200a9 Allow 0 +x00000003 <snip>
Is there a flag I have to set or something? I read the manpage at http://www.roth.net/perl/packages/#Win32-Perms, and poked around this site, and couldn't find a problem with this module not recognizing a local group. Nothing from google searches, either. I thought about using the ocx file that comes with setacl (allows for integration with perl), as there isn't much documentation on it, and the ocx file was just posted recently. As a result, I'm leery of using it for a production server. I was under the impression that Win32::Perms is more established, and was hoping to use that.
In reply to Win32::Perms doesn't get local groups by bowei_99
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |