summaryrefslogtreecommitdiff
path: root/MAT/mat.py
diff options
context:
space:
mode:
Diffstat (limited to 'MAT/mat.py')
-rw-r--r--MAT/mat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/MAT/mat.py b/MAT/mat.py
index 05bc8da..291cd42 100644
--- a/MAT/mat.py
+++ b/MAT/mat.py
@@ -114,7 +114,7 @@ def secure_remove(filename):
114 ''' 114 '''
115 # I want the file removed, even if it's ro 115 # I want the file removed, even if it's ro
116 try: 116 try:
117 os.chmod(filename, 0o777) 117 os.chmod(filename, 220)
118 except OSError: 118 except OSError:
119 logging.error('Unable to add write rights to %s' % filename) 119 logging.error('Unable to add write rights to %s' % filename)
120 raise MAT.exceptions.UnableToWriteFile 120 raise MAT.exceptions.UnableToWriteFile