From owner-svn-ports-head@freebsd.org Thu Apr 27 20:00:18 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id EFEACD4BAF2; Thu, 27 Apr 2017 20:00:18 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2158DAE; Thu, 27 Apr 2017 20:00:18 +0000 (UTC) (envelope-from rene@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3RK0HUA037254; Thu, 27 Apr 2017 20:00:17 GMT (envelope-from rene@FreeBSD.org) Received: (from rene@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3RK0HGq037253; Thu, 27 Apr 2017 20:00:17 GMT (envelope-from rene@FreeBSD.org) Message-Id: <201704272000.v3RK0HGq037253@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rene set sender to rene@FreeBSD.org using -f From: Rene Ladan Date: Thu, 27 Apr 2017 20:00:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r439563 - head/comms/dcf77pi X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2017 20:00:19 -0000 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