Package: xcwcp
Version: 2.3-3
Severity: normal

The xcwcp and cwcp launchers from the Debian menu on a Gnome desktop
appear to do nothing. Running xcwcp from an x-terminal works even though
the programs are not configured suid. If I reconfigure to use suid, the
launchers start the applications but I don't hear any beeps.

Looking closer, I see that the launchers start the applications with the
console sound option (-s c). Launching a non-suid version from the
command line warns:

xcwcp: cannot set up console sound
/dev/console: Permission denied

A quick survey of #debian showed that the popular permissions for
/dev/console were:

crw------- 1 root root 5, 1 Mar 24 10:44 /dev/console

A close second was root:tty. (300 nicks in the channel, two responses
besides myself. ;) )

I think that it would be more beneficial to the average user if the
launcher items didn't specify the console sound option but instead
specified the soundcard option or didn't give any option since that is
the default. I expect the software will work correctly more often with
that configuration when a user is starting it via a launcher menu item.

I don't want to stray from the topic too much, but I think this is
related. I have tried everything but 'Receive Keyboard CW' with the
non-suid version of xcwcp and it works fine. Isn't the suid only useful
to facilitate beeping via the console speaker?

The suid debconf prompt makes it sound like the software will be very
limited or perhaps may not run at all if you don't run it as root. If it
is really only to facilitate using the console speaker, my vote is for
soundcard use by default in the launchers and a low debconf priority for the suid question spelling out the reasons why suid may be useful.

Thank you.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-k7
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xcwcp depends on:
ii debconf [debconf-2.0] 1.5.11 Debian configuration management sy
ii  libc6                       2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgcc1                     1:4.1.1-21   GCC support library
ii libqt3-mt 3:3.3.7-3 Qt GUI Library (Threaded runtime v
ii  libstdc++6                  4.1.1-21     The GNU Standard C++ Library v3
ii unixcw 2.3-3 Shared library for Morse programs

xcwcp recommends no packages.

-- debconf information:
* xcwcp/suid_bit: false


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to