better handling of read-only files and directories in cautious-open-database