summaryrefslogtreecommitdiff
path: root/nss/nsinstall.py
diff options
context:
space:
mode:
Diffstat (limited to 'nss/nsinstall.py')
-rw-r--r--nss/nsinstall.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/nss/nsinstall.py b/nss/nsinstall.py
index 3a69c56f8ff5..39d26fea523f 100644
--- a/nss/nsinstall.py
+++ b/nss/nsinstall.py
@@ -87,6 +87,10 @@ def nsinstall(argv):
# mode is specified
try:
options.m = int(options.m, 8)
+ # I have no idea why nss insists on using this mode for installed headers.
+ # It causes problems with updating the files during a rebuild.
+ if options.m == 0444:
+ options.m = 0644
except:
sys.stderr.write('nsinstall: ' + options.m + ' is not a valid mode\n')
return 1