There's a few folders I need to run a script on. I have full access to the entire directory and all subdirectories, and when I run the script I get a lot of UnauthorizedAccessException. Most files I can access as necessary.
When I go to any of the specified files, "effective permissions" shows that I should have full access. I set myself as owner on all files, as a test, and it still gives me access denied.
The files aren't in use according to Share and Storage Management, however I completely unshared the folder and rebooted to make sure.
When I try to rename the files -- it tells me that I need permission from my own user account to access it. What is going on? 95% of the files are acting as they should according to permissions.