RE: Access is denied - GetEffectiveRightsFromAcl
- From: jetan@xxxxxxxxxxxxxxxxxxxx ("Jeffrey Tan[MSFT]")
- Date: Tue, 06 Nov 2007 13:26:36 GMT
Hi Max,
Do you get this error for all folders/files? If not, can you post the DACL
of the problematic folder/file? It's possible that LocalSystem does not
have the permissions you need.
Also, have you tried your code on other machines? Does the problem only
occur on this specific machine? If you restart your machine, does the
problem still exist?
Another possibility is that the S4U call to Kerberos fails.
Apart from the actual problem, it's just a bad approach to call
GetEffectiveRightsFromAcl for yourself. The recommended solution is just
opening the file in the mode you need it, and deal with the error.
Thanks.
Best regards,
Jeffrey Tan
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- Follow-Ups:
- References:
- Prev by Date: CSP calls from CAPICOM SignedData.Sign
- Next by Date: Re: Access is denied - GetEffectiveRightsFromAcl
- Previous by thread: Access is denied - GetEffectiveRightsFromAcl
- Next by thread: Re: Access is denied - GetEffectiveRightsFromAcl
- Index(es):
Relevant Pages
|