commit | e5a82003d1b3b7ea01f60dadb49c3bbc60e4ebb7 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Fri Sep 18 21:37:53 2015 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Fri Sep 18 21:37:53 2015 -0400 |
tree | b135a6330773723babbc22790433ca80243e65f4 | |
parent | 2334bd3ae56a4a8eff8e129da3c7aeec9672c6e1 [diff] |
subst: work around an NFS bug When running on NFS, opening files with 0444 perms for writing can sometimes fail. This is arguably an NFS server bug, but work around it by creating the file with 0644 permissions, and only change the permissions to be 0444 right before we close the file. URL: https://bugs.gentoo.org/550986 Reported-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Theodore Ts'o <tytso@mit.edu>