configuration file not writable

Asked by peter ratcliffe

New computer running Ubuntu 14.04 .
When I start an application, and this happens on more than one app, I get an error message
Configuration file ""/home/peter/.kde/share/config/knotifyre"not writable
If I exit the error message the application works normally except that it wont take any change to preferences.
This is beyond my skill level, so any suggestions welcome.

From Peter ratcliffe

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

Please provide the output of the following terminal commands:

uname -a
lsb_release -crid
ls -la /home/peter/.kde/share/config/
ls -lad /home/peter/.kde/share/config/
ls -lad /home/peter/.kde/share/
ls -lad /home/peter/.kde/
ls -lad /home/peter/

Revision history for this message
peter ratcliffe (pjcr) said :
#2

Thank you, answers as follows. Sorry,but can't get screen shot to work. Output is in same order as questions.

Linux peter-desktop 3.13.0-43-generic #72-ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Distributor ID: Ubuntu
Description: Ubuntu 14.04.1 LTS
Codename: trusty
ls: cannot open directory /home/peter/.kde/share/config/ : Permission denied
drwxr----- 2 root root 4096 Aug 6 10:29 /home/peter/.kde/share/config/
drwxr-xr-x 5 peter peter 4096 Dec 23 15:29 /home/peter/.kde/share/
drwxr-xr-x 3 peter peter 4096 Dec 23 15:29 /home/peter/.kde/
drwxr-xr-x 37 peter peter 4096 Jan 12 19:07 /home/peter/

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#3

The root cause is visible in your output: wrong file access settings on the configuration directory.

Execute the terminal command

sudo chown -R peter:peter /home/peter/.kde/share/config

and then try changing configuration settings again to check whether this works as desired.

Revision history for this message
peter ratcliffe (pjcr) said :
#4

Thanks Manfred Hampl, that solved my question.