Merge remote-tracking branch 'qubesos/pr/14'

* qubesos/pr/14:
  Make inter-appviewer lock permissions consistent
This commit is contained in:
Marek Marczykowski-Górecki 2016-11-27 02:19:52 +01:00
commit c7c86d12a7
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -74,7 +74,7 @@ def copy_text_to_qubes_clipboard(text):
#inter-appviewer lock
try:
fd = os.open("/var/run/qubes/appviewer.lock", os.O_RDWR|os.O_CREAT, 0600)
fd = os.open("/var/run/qubes/appviewer.lock", os.O_RDWR|os.O_CREAT, 0666)
fcntl.flock(fd, fcntl.LOCK_EX)
except IOError:
QMessageBox.warning (None, "Warning!", "Error while accessing Qubes clipboard!")