Linux tutorials, geany how to, fix error configuration file could not created

How to Fix error: Configuration directory could not be created in Geany

1. Check Privileges of configuration files

The first step you should do is check the privilege of geany configuration folder. use the following command:

tanto@ThinkPad-Edge-E445:~$ cd ~/.config
tanto@ThinkPad-Edge-E445:~/.config$ ls -la
total 76
drwxr-xr-x 38 tanto tanto  4096 Des 16 22:10 .
drwxr-xr-x 54 tanto tanto  4096 Des 19 00:56 ..
drwxr-xr-x  2 tanto tanto    93 Sep 22 23:50 ardour4
drwxrwxr-x  2 tanto tanto    81 Des 15 22:09 autostart
drwx------ 12 tanto tanto  4096 Des 11 18:01 chromium
drwxrwxr-x  2 tanto tanto    23 Des  1 20:53 composer
drwxrwxr-x  2 tanto tanto    37 Des 19 01:27 dconf
drwx------  2 tanto tanto    68 Okt 18 01:36 enchant
drwxr-x---  3 tanto tanto   251 Des 17 02:33 epiphany
drwx------  2 tanto tanto    42 Des 18 17:48 evince
drwx------  3 tanto tanto    21 Sep 14 16:33 evolution
drwx------  2 tanto tanto   130 Okt 30 17:11 filezilla
drwxrwxr-x  7 tanto tanto   175 Des 18 23:46 Franz
drwx------  4 tanto tanto    52 Okt 14 13:01 freerdp
drwx------  5 root  root    135 Des 19 01:01 geany
drwxr-xr-x  3 tanto tanto    27 Sep 14 16:33 gnome-session
drwx------  2 tanto tanto    32 Des 19 01:01 gtk-2.0
drwx------  2 tanto tanto    23 Des 18 23:40 gtk-3.0
drwx------  2 tanto tanto    20 Des 14 21:05 htop
drwx------  3 tanto tanto    17 Sep 16 16:43 ibus
drwxr-x--x  7 tanto tanto   133 Okt 23 19:32 inkscape
drwx------  2 tanto tanto    22 Sep 23 00:10 jack
-rw-------  1 tanto tanto   392 Nov 25 09:51 kdeglobals
-rw-------  1 tanto tanto  7115 Des  6 07:02 kdenliverc
drwxrwxr-x  3 tanto tanto    21 Nov 17 11:04 kingsoft
drwxrwxr-x  2 tanto tanto    25 Nov 17 11:03 Kingsoft
drwxr-xr-x  2 tanto tanto    25 Sep 14 16:33 libaccounts-glib
drwxrwxr-x  3 tanto tanto    15 Sep 16 12:18 libreoffice
drwxrwxr-x  2 tanto tanto    23 Des 16 23:39 marlin
drwxrwxr-x  3 tanto tanto    33 Sep 17 11:17 menus
-rw-rw-r--  1 tanto tanto 13602 Des  6 13:25 mimeapps.list
-rw-rw-r--  1 tanto tanto    89 Okt 25 22:50 pavucontrol.ini
drwxr-xr-x  3 tanto tanto    19 Sep 14 16:08 plank
-rw-------  1 tanto tanto    37 Okt 18 09:32 plasmarc
drwx------  2 tanto tanto   304 Sep 14 16:33 pulse
-rw-rw-r--  1 tanto tanto   571 Des 16 22:10 QtProject.conf
drwxrwxr-x  2 tanto tanto    25 Sep 15 02:20 rclone
drwxrwxr-x  2 tanto tanto    27 Sep 23 00:11 rncbc.org
drwxrwxr-x  2 tanto tanto  4096 Des  5 23:34 session
drwx------  8 tanto tanto    98 Okt  5 07:07 sublime-text-3
drwxr-xr-x  5 tanto tanto   108 Sep 22 08:56 transmission
drwx------  2 tanto tanto    25 Sep 21 21:01 transmission-remote-gtk
-rw-rw-r--  1 tanto tanto  5861 Nov 17 11:03 Trolltech.conf
-rw-------  1 tanto tanto   600 Sep 14 16:33 user-dirs.dirs
drwx------  2 tanto tanto  4096 Des 18 06:48 VirtualBox
drwx------  2 tanto tanto    48 Des 17 00:35 vlc

if you see the result of the command, the geany configuration folder owner belongs to root, when it should belong to the user (in this case tanto)

drwx------  5 root  root    135 Des 19 01:01 geany

to move ownership of the folder from root to tanto, use the following command:

sudo chown tanto:tanto -R geany

you will be asked to enter a password to execute the above command. Once successful, check the results trough ls -la command. And try to start geany Applications.

Good luck.

Leave a Reply

Your email address will not be published. Required fields are marked *