summaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2013-03-05 19:49:26 -0500
committerPeter Foley <pefoley2@verizon.net>2013-03-05 19:50:31 -0500
commit7b8411810239683911ad7ef749ed7943038949b4 (patch)
treec10a42b16e090e7bed06617c1aead5c80613c7f4 /nss
parentcde76a32058aef5cd19b17f01aebb6715f97ec6b (diff)
fix access is denied error in nss on windows
Change-Id: I3b0ebab5e87897a9c29da4b3f97f7fb71cdd1751
Diffstat (limited to 'nss')
-rw-r--r--nss/nsinstall.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nss/nsinstall.py b/nss/nsinstall.py
index e1728a932449..67d696b59706 100644
--- a/nss/nsinstall.py
+++ b/nss/nsinstall.py
@@ -147,6 +147,7 @@ def nsinstall(argv):
shutil.copy2(srcpath, targetpath)
else:
if os.path.exists(targetpath):
+ os.chmod(targetpath, 755)
os.remove(targetpath)
shutil.copy(srcpath, targetpath)