Merge remote-tracking branch 'qubesos/pr/14'
* qubesos/pr/14: Make inter-appviewer lock permissions consistent
This commit is contained in:
commit
c7c86d12a7
@ -74,7 +74,7 @@ def copy_text_to_qubes_clipboard(text):
|
|||||||
#inter-appviewer lock
|
#inter-appviewer lock
|
||||||
|
|
||||||
try:
|
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)
|
fcntl.flock(fd, fcntl.LOCK_EX)
|
||||||
except IOError:
|
except IOError:
|
||||||
QMessageBox.warning (None, "Warning!", "Error while accessing Qubes clipboard!")
|
QMessageBox.warning (None, "Warning!", "Error while accessing Qubes clipboard!")
|
||||||
|
Loading…
Reference in New Issue
Block a user