]> git.apps.os.sepia.ceph.com Git - fscrypt.git/commit
filesystem: fall back to non-atomic overwrites when required
authorEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
committerEric Biggers <ebiggers@google.com>
Wed, 23 Feb 2022 20:35:04 +0000 (12:35 -0800)
commit45599bdfad300f1a034c70dd70b4bd180d66f52c
tree491d617281998aecbaf114e941b8993eff96426d
parentb44fbe71e1e93c47050322af51725bac997641e0
filesystem: fall back to non-atomic overwrites when required

To allow users to update fscrypt metadata they own in
single-user-writable metadata directories (introduced by the next
commit), fall back to non-atomic overwrites when atomic ones can't be
done due to not having write access to the directory.
filesystem/filesystem.go