We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83eb363 commit 4cc2d6cCopy full SHA for 4cc2d6c
src/webdriver/extension_qt/uinput_manager.cc
@@ -39,7 +39,7 @@ bool UInputManager::registerUinputDevice()
39
{
40
struct uinput_user_dev uidev;
41
42
- _deviceDescriptor = open("/dev/uinput", O_WRONLY | O_NONBLOCK | O_CREAT | O_NDELAY);
+ _deviceDescriptor = open("/dev/uinput", O_WRONLY | O_NONBLOCK | O_CREAT | O_NDELAY, S_IREAD | S_IWRITE);
43
_logger->Log(kInfoLogLevel, std::string("#### Device descriptor: ") + QString::number(_deviceDescriptor).toStdString());
44
45
if (0 > _deviceDescriptor)
0 commit comments