Re: An old, tiresome discussion: cdrtools vs cdrkit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux