Public bug reported:

Binary package hint: kcontrol

$ uname -a
Linux localhost 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 
GNU/Linux

$ kcontrol --version
Qt: 3.3.7
KDE: 3.5.8
KDE Control Center: 3.5.8

After  helping a few users that couldn't save their changes in kcontrol, I 
tried to find the reason :
On a fresh kubuntu installation, after changing parameters that require root 
rights in kcontrol, changing section will create configuration files in 
$HOME/.kde/share/config which own to root.

Example :
kcontrol / administration / restricted drivers requires root right to install 
drivers.

Result in $HOME/.kde/share/config :
-rw------- 1 root root    44 2007-10-23 17:52 adept_batchrc
-rw------- 1 root root    46 2007-10-23 17:33 adept_managerrc

This may seem normal (even if I'm not sure about these ones).

After that  I tried to change the keyboard settings in the accessibility
section.

Result : 
-rw------- 1 root root   233 2007-10-23 17:52 kxkbrc

The configuration file was created with root rights, probably because I
used to be root just before.

The consequences are easy to guess : the settings cannot be changed by the user 
or you get this :
http://img125.imageshack.us/img125/5116/capture1kg0.png

** Affects: kdebase (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- Kcontrol corrupts the .kde/share/config rights
+ Kcontrol corrupts the .kde/share/config permissions

** Description changed:

  Binary package hint: kcontrol
  
  $ uname -a
  Linux localhost 2.6.22-14-generic #1 SMP Sun Oct 14 23:05:12 GMT 2007 i686 
GNU/Linux
  
  $ kcontrol --version
  Qt: 3.3.7
  KDE: 3.5.8
  KDE Control Center: 3.5.8
  
  After  helping a few users that couldn't save their changes in kcontrol, I 
tried to find the reason :
- On a fresh kubuntu installation, after changing parameters that require root 
rights in kcontrol, changing section will create configuration files in 
$HOME/.kde/share/config with root rights.
+ On a fresh kubuntu installation, after changing parameters that require root 
rights in kcontrol, changing section will create configuration files in 
$HOME/.kde/share/config which own to root.
  
  Example :
  kcontrol / administration / restricted drivers requires root right to install 
drivers.
  
  Result in $HOME/.kde/share/config :
  -rw------- 1 root root    44 2007-10-23 17:52 adept_batchrc
  -rw------- 1 root root    46 2007-10-23 17:33 adept_managerrc
  
- This may seem normal (even if I'm not sure about these ones)
+ This may seem normal (even if I'm not sure about these ones).
  
- After that  I tried to change the keyboards settings in the
- accessibility section.
+ After that  I tried to change the keyboard settings in the accessibility
+ section.
  
  Result : 
  -rw------- 1 root root   233 2007-10-23 17:52 kxkbrc
  
- The configuration file was created with root rights, probably because I used 
to be root before.
+ The configuration file was created with root rights, probably because I
+ used to be root just before.
+ 
  The consequences are easy to guess : the settings cannot be changed by the 
user or you get this :
  http://img125.imageshack.us/img125/5116/capture1kg0.png

-- 
Kcontrol corrupts the .kde/share/config permissions
https://bugs.launchpad.net/bugs/156306
You received this bug notification because you are a member of Kubuntu
Team, which is a bug contact for kdebase in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to