first steps towards more fine-grained handling of file permission errors