mirror of
https://github.com/projectatomic/bubblewrap.git
synced 2026-02-06 18:46:08 +01:00
For NFS mounts if we call mkdir() on a read-only mount (such as when we've created a read-only bind mount) the kernel will nor return EEXIST even when the directory exists, instead returning EROFS. So, we add (and use) an ensure_dir() helper that stats before calling mkdir. Closes: #258 Approved by: giuseppe
4.6 KiB
4.6 KiB