diff options
-rwxr-xr-x | clip | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -54,6 +54,7 @@ def secure_open(path, mode='r', *l, **kw): if __name__ == '__main__': + os.umask(0o077) clipboard_filepath = '/dev/shm/%s-clipboard' % getpass.getuser() if(sys.stdin.isatty()): # Should write clipboard contents out to stdout |