From owner-svn-ports-head@freebsd.org Sun Jan 5 16:57:59 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 22E4E1DA24E; Sun, 5 Jan 2020 16:57:59 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47rPw706mRz4TrQ; Sun, 5 Jan 2020 16:57:59 +0000 (UTC) (envelope-from adridg@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id F36338D6; Sun, 5 Jan 2020 16:57:58 +0000 (UTC) (envelope-from adridg@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 005GvwLl013621; Sun, 5 Jan 2020 16:57:58 GMT (envelope-from adridg@FreeBSD.org) Received: (from adridg@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 005GvwY2013620; Sun, 5 Jan 2020 16:57:58 GMT (envelope-from adridg@FreeBSD.org) Message-Id: <202001051657.005GvwY2013620@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adridg set sender to adridg@FreeBSD.org using -f From: Adriaan de Groot Date: Sun, 5 Jan 2020 16:57:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r522163 - head/sysutils/k3b X-SVN-Group: ports-head X-SVN-Commit-Author: adridg X-SVN-Commit-Paths: head/sysutils/k3b X-SVN-Commit-Revision: 522163 X-SVN-Commit-Repository: ports 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.29 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: Sun, 05 Jan 2020 16:57:59 -0000 Author: adridg Date: Sun Jan 5 16:57:58 2020 New Revision: 522163 URL: https://svnweb.freebsd.org/changeset/ports/522163 Log: Fix up pkg-message for sysutils/k3b The message was no longer entirely correct for currently-supported FreeBSD systems. PR: 240273 Submitted by: Marko Cupac Modified: head/sysutils/k3b/pkg-message Modified: head/sysutils/k3b/pkg-message ============================================================================== --- head/sysutils/k3b/pkg-message Sun Jan 5 16:18:25 2020 (r522162) +++ head/sysutils/k3b/pkg-message Sun Jan 5 16:57:58 2020 (r522163) @@ -6,21 +6,14 @@ (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/creating-cds.html) 2. k3b has to be started from a root console, which is not recommended. Alternatively, do ALL of the following: - a. Set the suid flag on cdrecord and cdrdao. The 'Notes' chapter of - 'man cdrecord' discusses this. - b. Set the vfs.usermount sysctl variable to 1. - # sysctl vfs.usermount=1 - Add this line to /etc/sysctl.conf to make it permanent: - vfs.usermount=1 - Note that this has negative security implications - c. Every user must have read and write access to /dev/cdX: + a. Every user must have read and write access to /dev/cdX: - add to your /etc/devfs.rules under '[system=10]': add path 'cd*' mode 666 - or if you prefer allow access for a group XXX only add instead: add path 'cd*' mode 660 group XXX - to enable it, add to your /etc/rc.conf # sysrc devfs_system_ruleset="system" - d. Every user who should be able to use k3b must have read and write access + b. Every user who should be able to use k3b must have read and write access to all pass through devices connected with CD and DVD drives and to the /dev/xpt0 device. Run 'camcontrol devlist' to identify those devices (seek string 'passX' at the end of each line). Note, that this is a security @@ -42,6 +35,9 @@ a. Either use the (default) HAL backend, and enable HAL in /etc/rc.conf via # sysrc hald_enable="YES" b. *or* use the (experimental) BSDISKS backend. +5. Last but not the least, you need to set cdrecord parameters in K3b's + "Settings --> Configure k3b... --> Programs --> User Parameters" to + match your device as seen by `cdrecord -scanbus' (e.g. dev=3,0,0) EOM } ]