diff options
author | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-03-12 10:53:03 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <marco@localhost.localdomain> | 2008-03-12 10:53:03 (GMT) |
commit | 1bd448a5dbac985bb64061e82f7b740bbf5b5c61 (patch) | |
tree | a42ada5ac6786cdefd6ac74e56fc24aca028d94d /service | |
parent | 1aeeffcf47dbe5cde0a205d4fb83392021e79996 (diff) |
#6405 Tweak permissions of the clipboard files to make them work under rainbow
Diffstat (limited to 'service')
-rw-r--r-- | service/clipboardservice.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/service/clipboardservice.py b/service/clipboardservice.py index fec546f..d69fbaf 100644 --- a/service/clipboardservice.py +++ b/service/clipboardservice.py @@ -200,6 +200,7 @@ class ClipboardService(dbus.service.Object): f, new_file_path = tempfile.mkstemp(ext, root) del f shutil.copyfile(uri.path, new_file_path) + os.chmod(new_file_path, 0644) return 'file://' + new_file_path |