Hi,
I’m trying to programmatically set read only access for a share. To do this
I am setting
GENERIC_READ as the access mask within the ACE that I add to the security
descriptor for the share object. (Note that this is for the share and not
for the directory
tree that it maps to)
The documentation states that the object will map the generic access masks
to it’s
own object specific mask. This however, does not work for a share. When I
view sharing
permissions from explorer I see it set to “special access” which basically
allows nothing.
Could anyone help me out with what access masks I could use here.
regards,
Roy.
Create a share you like from the GUI, read out the ACL, and look at it.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Royston
Mascarenhas
Sent: Wednesday, October 29, 2003 9:14 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] Access control for share object
Hi,
I’m trying to programmatically set read only access for a share. To do
this I am setting GENERIC_READ as the access mask within the ACE that I
add to the security descriptor for the share object. (Note that this is
for the share and not for the directory tree that it maps to)
The documentation states that the object will map the generic access
masks to it’s own object specific mask. This however, does not work for
a share. When I view sharing permissions from explorer I see it set to
“special access” which basically allows nothing.
Could anyone help me out with what access masks I could use here.
regards,
Roy.
You are currently subscribed to ntfsd as: xxxxx@basistech.com To
unsubscribe send a blank email to xxxxx@lists.osr.com