diff options
Diffstat (limited to 'MAT/mat.py')
| -rw-r--r-- | MAT/mat.py | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 |
