|
-
April 25th, 2005, 11:24 AM
#3
Re: Permissions problem deleting folders
Just to test for the possibility of it being a security context issue, I invoked the C# program from the command line and again got the permission denied error. I then attempted to delete the profile from within the same command window using the DOS rmdir /S command with the full UNC path to the profile on the other system. It asked me if I was sure and then successfully deleted the directory -- no permissions issues.
So, if it is a security context issue, that would mean that a .NET program runs under a different context than the user that invoked it, even though it was invoked from a command prompt. Is that the case? And if so, where do I look to fix it?
Thanks,
Rob
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|