kscd

Joel Hammer Joel
Mon May 17 11:41:44 PDT 2004


I don't know nuthin' about devfs, but, when I start up kde with kdm, a
multiuser session, the following script runs in 
/etc/X11/kdm 
 TakeConsole
which is:
#!/bin/sh
# Reassign ownership of the console to root, this should disallow
# assignment of console output to any random users's xterm
# $XConsortium: TakeConsole,v 1.2 93/09/28 14:30:29 gildea Exp $
# $Id: TakeConsole,v 1.3 1998/09/30 21:20:26 bieker Exp $
 
 
# This list _MUST_ be the same as in GiveConsole
CONSOLE_DEVICES="console audio video radio cdrom dsp mixer vbi sequencer sequencer2 midi"
 
for i in $CONSOLE_DEVICES; do
        chown --dereference root.root /dev/$i
        chmod 600 /dev/$i
done
chmod 622 /dev/console             

This has caused me great confusion. So, for example, I think it is assigning
root ownership to some devices, which makes some software behave odd.
There may be a similar thing in yours.
When kde exits, maybe it is updating your configuration file, heh?

Joel



On Wed, Dec 18, 2002 at 04:47:58PM -0800, Ted Ozolins wrote:
> Each time I start up kscd i get the "make sure you have permission to 
> access /dev/cdrom"  I do not have /dev/cdrom as I'm using devfs I have 
> /dev/cdroms/cdrom0
> If I edit $HOME/.kde/share/config/kscd.rc and change the line to reflect 
> this, the next time I start up kscd I get the same error and the line 
> has been changed back to /dev/cdrom.
> Where the hell is it getting this from? What is the point of having a 
> configuration file is some twit thought it  it should be over-wriitten 
> each time you start the program. This is the sort of nonsense that makes 
> convincing someone to try linux very dificult. (KDE 3.0.5) Does any know 
> where else I can look to change this globally?
> 
> -- 
> Ted Ozolins (VE7TVO)
> Westbank, B. C.
> 
> Powered by Slackware 8.1, sent with Mozilla
> 
> 
> _______________________________________________
> Linux-users mailing list
> Linux-users at linux-sxs.org
> Unsubscribe/Suspend/Etc -> http://www.linux-sxs.org/mailman/listinfo/linux-users


More information about the Linux-users mailing list