简体   繁体   中英

Permissions Error in Perl Script for Linux

I'm trying to install the Touchmouse server for Linux. The software is a perl script that I have tried to run via terminal, using the perl command. The software I'm trying to run is here: https://github.com/mycroes/touchmoused

This is the output from terminal:

:~/Desktop/touchmoused-master$ perl touchmoused
Can't open /dev/uinput: Permission denied at touchmoused line 242.
:~/Desktop/touchmoused-master$ Established under name '<name of computer>'

I am new to Linux but have some experience with Terminal.

Thanks!

From the creator of the script:

Just download it, chmod +x and run it (as root, it needs access to /dev/uinput and it wants to register with avahi). Regards,

http://blog.mycroes.nl/2011/04/touchmoused-logitech-touch-mouse-server.html

Your user won't have permissions for /dev/uinput, also check that /dev/uinput is the correct location for your distribution, the script allows you to override this with the -device flag.

So either make it executable so you don't have to enter 'perl' and then run with sudo or have root run it on startup.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM