freebsd-ports/sysutils/k3b/pkg-message
Adriaan de Groot f41bf76b2f Fix pkg-message of sysutils/k3b
- Remove sentence that suggests that FreeBSD 7.x is still a going concern
 - Remove reference to sysctl that doesn't exist in any supported version

This does not fix the problem that k3b doesn't *work*, though. Since
cdrecord no longer accepts dev=/dev/cd0 , k3b will consistently fail to
blank a CD, as reported in the linked PR.

PR:		228408
Submitted by:	jwb
2018-06-06 17:55:09 +00:00

36 lines
2 KiB
Text

1. The FreeBSD k3b port supports SCSI drives only. If you have IDE CD or DVD
drives, use them through the cam system. See Chapter 17.5.1 of the handbook
(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 the line vfs.usermount=1 to /etc/sysctl.conf
Note that this has negative security implications
c. 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 a
devfs_system_ruleset="system"
d. 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
leak as well but that there is no alternative!
- add to your /etc/devfs.rules under '[system=10]':
add path 'pass*' mode 666
add path 'xpt0' mode 666
- or if you prefer allow access for a group XXX only add instead:
add path 'pass*' mode 660 group XXX
add path 'xpt0' mode 660 group XXX
- to enable it, add to your /etc/rc.conf
devfs_system_ruleset="system"
- to apply these changes without reboot, run as root:
/etc/rc.d/devfs restart
3. Create a directory on a partition, which has enough disk space to hold a CDs
or DVDs content (usually below /usr). Enter this directory in Settings->
Configure K3b...->Misc.