mycli icon indicating copy to clipboard operation
mycli copied to clipboard

You don't have permission to read config file

Open rossh3016 opened this issue 5 years ago • 2 comments

Not sure what happened here there was a crash of the application and now it is outputting message in the subject with the path to the file in my home directory which exists. I have tried to back up and create new but get the same message.

`rhenderson@MEL-PRGL001:~$ ll ~/.myclirc

-rwx------ 1 rhenderson rhenderson 3261 Apr 14 15:44 /home/rhenderson/.myclirc*

rhenderson@MEL-PRGL001:~$`

I installed with snap on Ubuntu 19.10 and it seems to have been using the snap directory for the history and other files.

rossh3016 avatar Apr 15 '20 06:04 rossh3016

hi, sorry for the long reaction time. Are you sure you are running mycli as rhenderson? Have you tried adding read permissions for other users?

chmod 644 ~/.myclirc

gfrlv avatar May 11 '20 10:05 gfrlv

hi, sorry for the long reaction time. Are you sure you are running mycli as rhenderson? Have you tried adding read permissions for other users?

chmod 644 ~/.myclirc

This solution dont work.

My solution: The problem is that there is a conflict between 2 config files. When install mycli through snap your config file is stored in

snap/mycli/numberAssignedForSnap/.myclirc.

In this file provided for snap if take everything the changes.

Tip: Delete ~/.myclirc and if you have your custom config, copy and paste into the correct file.

Maxcrazy1 avatar Jul 17 '20 12:07 Maxcrazy1