I had the same error today, only it was related to a specific directory on a shared drive. Went to the properties of the directory and there is no permissions tab. When I try and open directory I get access denied, and I have full control to the shared directory.