summaryrefslogtreecommitdiff
path: root/sysutils/k3b/pkg-message
blob: 1c59ae898ea7b77a2474e90351880af8a782f1a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[
{ type: install
  message: <<EOM
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 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:
      - 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
      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
          # sysrc devfs_system_ruleset="system"
      - to apply these changes without reboot, run as root:
          # service 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.
4. You must configure devel/kf5-solid appropriately:
   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.
EOM
}
]