Check accessibility of _dir_ and not _file_ when creating files
Check accessibility of _dir_ and not _file_ when creating files

les69/calvin-base,EricssonResearch/calvin-base,les69/calvin-base,EricssonResearch/calvin-base,les69/calvin-base,EricssonResearch/calvin-base,EricssonResearch/calvin-base,les69/calvin-base