Date: Thu, 27 Apr 2017 20:00:17 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439563 - head/comms/dcf77pi Message-ID: <201704272000.v3RK0HGq037253@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Thu Apr 27 20:00:17 2017 New Revision: 439563 URL: https://svnweb.freebsd.org/changeset/ports/439563 Log: comms/dcf77pi: add a tip to make it possible to run the programs as non-root Added: head/comms/dcf77pi/pkg-message (contents, props changed) Added: head/comms/dcf77pi/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/comms/dcf77pi/pkg-message Thu Apr 27 20:00:17 2017 (r439563) @@ -0,0 +1,9 @@ +dcf77pi and readpin need to be run as root due to the permissions of +/dev/gpioc* , but this can be prevented by changing the permissions of the +device node: + +# chmod 0660 /dev/gpioc* + +And to make the change persistent across reboots: + +# echo "perm gpioc* 0660" >> /etc/devfs.conf
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704272000.v3RK0HGq037253>