diff options
author | David Tardon <dtardon@redhat.com> | 2012-10-30 14:18:25 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-10-30 15:25:20 +0100 |
commit | 46412b411d4b3ecd86dab85717788beed89d3489 (patch) | |
tree | b5def2d70b9c032863e4112f4970cbc3d2719819 | |
parent | 047bc54675193bb10a74b865a057fc0438fb824c (diff) |
mangle file mode to avoid breaking rebuilds
Change-Id: Id436bdbf3a307a3a3c9735ad911e397a21ab701b
-rw-r--r-- | nss/nsinstall.py | 4 |
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 |