Bug 372290 - When right clicking on txt file and katerc not writable all but mouse movement is unresponsive
Summary: When right clicking on txt file and katerc not writable all but mouse movemen...
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 16.04.1
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-10 13:23 UTC by dfonlinemail
Modified: 2016-11-12 16:11 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dfonlinemail 2016-11-10 13:23:44 UTC
First of all, I would like to say that I am new to Linux so if there is a more proper way for me to report the bug then let me know.

Whenever I would click to open a text file I would see an error

Configuration file "/home/[my_name]/.config/katrc" not writable.
Please contact your system administrator.

The file then opens and I am able to modify the file (I guess this is also a bug). However, when right clicking on a text file, the error would appear and the right click options would appear. This caused my computer to be unresponsive with the exception that I could move my mouse. No keyboard combination that I tried would result in any change. The only fix that I found was to physically turn off and on the computer.

The fix that I used was to change the permissions of katrc using the command

sudo chmod 666 /home/[my_name]/.config/katerc
Comment 1 Christoph Feck 2016-11-11 18:02:26 UTC
If the file is not writable, it is possible that the directory permissions do not allow to create configuration files (KConfig does not simply overwrite files, but first create a new file with the changes).

I suggest to ask in a forum for new Linux users how to make sure your home directory does not contain unwritable directories. This can happen if you allowed programs with root permissions to write to your home directory.
Comment 2 dfonlinemail 2016-11-12 16:11:36 UTC
(In reply to Christoph Feck from comment #1)
> If the file is not writable, it is possible that the directory permissions
> do not allow to create configuration files (KConfig does not simply
> overwrite files, but first create a new file with the changes).
> 
> I suggest to ask in a forum for new Linux users how to make sure your home
> directory does not contain unwritable directories. This can happen if you
> allowed programs with root permissions to write to your home directory.

As I explained, when changing the permissions the issue is resolved. However, if for whatever reason the permissions are not changed, then the computer freezes.