10-14-2017, 10:15 AM | #1 |
Junior Member
Posts: 1
Karma: 10
Join Date: Nov 2015
Device: Kobo Glo
|
Only runs with sudo on Ubuntu
After a recent update (not sure if it was Calibre update or Ubuntu), I can now now longer run calibre without using sudo.
Any guidance on how to fix this? |
10-14-2017, 11:15 AM | #2 |
Wizard
Posts: 1,738
Karma: 26006874
Join Date: Sep 2017
Device: PW3, Fire HD8 Gen7, Moto G7, Sansa Clip v2, Ruizu X26
|
What error message are you getting? "Permission denied" on some executable, Calibre can no longer read it's data directory, what?
You can see a log of what software has been installed and what updates were made in Synaptic. Just use File->History. So if you can recall when Calibre last worked, you can look at what's been installed/updated since then and maybe get a clue. I'm thinking this is more likely a user or script oopsie that got a little too sloppy with the chmod or chown command. But first you have to better describe what you're seeing (specifically) before we can speculate further. |
10-14-2017, 11:31 AM | #3 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Quote:
Code:
calibre-debug -g bernie |
|
10-14-2017, 12:19 PM | #4 | |
Well trained by Cats
Posts: 29,806
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
Calibre needs FULL rights for the Library folder (and children) Calibre also need normal User (Full, owner) rights to the hidden configuration folder. |
|
10-15-2017, 08:53 PM | #5 | |
Addict
Posts: 281
Karma: 7724454
Join Date: Sep 2017
Location: Bethesda, MD, USA
Device: Kobo Aura H20, Kobo Clara HD
|
Quote:
To fix the permissions on you library, do this: Code:
> echo meta* # make sure that printed "metadata.db"; if it didn't, then stop and don't execute the following > sudo chown -R $USER . > sudo chmod -R u+rw . > find . -t d -print0 |xargs -0 sudo chmod u+x If it's still borked, then it's likely the config files that have a permissions problem; go to the ~/.config/calibre directory, double-check that you are actually in that directory, and run the same 3 last commands to fix the permissions there. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
calibredb cli needs admin rights (sudo) | tesep | Calibre | 12 | 08-04-2017 03:06 AM |
Installing Calibre on AWS - sudo -v requires password, default account doesn't have | technicaltitch | Calibre | 3 | 06-17-2015 02:44 PM |
Ubuntu UbuTab Android/Ubuntu OS device | gbm | Android Devices | 1 | 01-21-2015 02:23 PM |
Calibre runs on what o/s? | TdeV | Calibre | 9 | 03-09-2014 03:33 AM |
Installing calibre 1.26 in linux debian with no sudo | Nix Hard | Calibre | 5 | 03-02-2014 10:47 PM |