Nils,

thanks for the reply.
I’m sorry I should have mentioned that I tried this already ending up in either

> Invalid type Service ttyUSB0 
>       Description: unable to read filesystem '/dev/ttyUSB0‘ state

or

> Invalid type Service ttyUSB0 
>       Description: is neither a regular file nor a socket

:-(

I think these tests are not capable of checking a device file.

Tino

> Am 06.08.2017 um 23:00 schrieb Nils Steinger <monit-gene...@voidptr.de>:
> 
> https://mmonit.com/monit/documentation/monit.html#PERMISSION-TEST
> 
> On 2017-08-03 21:00, Tino Hendricks wrote:
>> Dear list,
>> 
>> is there any chance to check permissions on a device like /dev/ttyUSB0 
>> without use of an external script?
>> 
>> Thanks in advance!
>> 
>> Tino
>> --
>> To unsubscribe:
>> https://lists.nongnu.org/mailman/listinfo/monit-general
>> 
> 
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general


-- 
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to