It looks as though the SHARE_INFO_502 supports this via the
sh502_security_descriptor attribute.  Presumably this can be used with
NetShareGetInfo and NetShareSetInfo.

Mark.

> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brad Tilley
> Sent: Tuesday, 31 January 2006 9:11 AM
> To: python-win32@python.org
> Subject: [python-win32] Extracting share permissions
>
>
>
> Hi there,
>
> I've googled around a bit but I can't find an easy,
> straight-forward way of
> doing this in Python. Here's my situation: I want to be able to
> extract 'share
> permissions' (not file system permissions) from shares and then
> reapply them.
> We have a large file server that occasionally has to be rebuilt.
> I'm able to
> recreate all of the share information _except_ 'share
> permissions' any tips on
> doing this will be greatly appreciated!!!
>
> I can provide more details if needed.
>
> Thanks,
> Brad
> _______________________________________________
> Python-win32 mailing list
> Python-win32@python.org
> http://mail.python.org/mailman/listinfo/python-win32
>

_______________________________________________
Python-win32 mailing list
Python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to