[arch-general] An old, tiresome discussion: cdrtools vs cdrkit

Attila vodoo0904 at sonnenkinder.org
Thu Jan 28 01:48:09 EST 2010


At Donnerstag, 28. Januar 2010 00:14 Gaurish Sharma wrote:

> Anyone,
> How can we setup cdrtools to completely replace cdrkit so that other
> programs like k3b can use seamlessly ? Any guides, I didn't find
> anything on ArchLinux Wiki which is kinda strange.

The hard way only for your system:

pkgname=cdrecord
_pkgname=cdrtools
...
conflicts=('cdrkit' 'cdrtools')
provides=('cdrkit')
...

I have no cdrkit here because i don't need it and i don't need the sysmlinks 
inside of the package.

> One more thing
> cdrtools required it to be run as root, isn't that dangerous. any
> method by which we give the required permissions to normal user?

I change the permissions in the install file in this way:

  /bin/echo "Change Owner, Group and Permission to root.optical (4710) ..."
  for n in /usr/bin/cdrecord \
           /usr/bin/readcd \
           /usr/bin/cdda2wav;
  do
    /bin/chown -v root:optical $n && /bin/chmod -v 4710 $n;
  done
  /bin/echo "done.

Than the user has only to be in the group optical. It works but perhaps a expert 
should say if this is okay.

See you, Attila



More information about the arch-general mailing list