... file or directory for which it does not have the necessary permissions, such as attempting to write to a read-only file, accessing a file that is locked by another process, or trying to open a file in a restricted directory. Thanks Professor Otto I knew this too but it so happens that I am the ...