http://qs321.pair.com?node_id=239375


in reply to Viewing network shares

I've looked into viewing the permissions (for users and groups) on the shares somewhat, and it seems more daunting than I first believed.

The {'permissions'} hash key in Win32::NetResource::NetShareGetInfo is merely read, write, change, delete and so on. MSDN mentions the SECURITY_DESCRIPTOR in the SHARE_INFO_502 structure, but that's not available in W::NR::NetShareGetInfo.

One might work with Win32::FileSecurity, but it says in my version under Known issues/bugs:

  1. May not work on remote drives.