PDA

View Full Version : [SOLVED] Running Calibre No write access message



Jorhel
August 31st, 2017, 10:18 AM
Please see that thread for background on how I installed Calibre https://ubuntuforums.org/showthread.php?t=2368617&page=2

I did sudo apt-get update
Sudo apt-get upgrade

Then tried again to run calibre and got
No write acces to /home/snukies/.config/calibre using a temporary dir instead
Illegal instruction (core dumped)

ajgreeny
August 31st, 2017, 12:15 PM
Right click on the folder .config/calibre in your file manager and let's see what permissions it has; there should be no problems for you writing to that folder but for some reason you have no write access to it.
I am not sure whether that is your main problem but it is rather suspicious, and not what is expected or correct.

Jorhel
September 2nd, 2017, 05:22 AM
OK I checked the permissions are as follow
Owner root (root) read and write
Group root none
Others none

I have to users on my computer Helene/Snukies (Admin) and Kids/kids (custom) Both belonging to the group snukies and the group kids.
I remember having issues with the groups when I started with 14.04. Ideally I want to be able to acces everything on the computer including the kids folders but have them accessing only theirs and of course not let them install stuff.
I just scrolled through the list of groups available on the computer and ticked myself in the group root. That does not happen to have changed anything with the permissions in calibre.

Impavidus
September 2nd, 2017, 12:30 PM
That directory shouldn't be owned by root. It should be owned by your ordinary user, snukies. Best to fix the group too. Use
sudo chown -R snukies:snukies ~/.config/calibreMaybe the first time you ran calibre, you ran it with sudo. That would have created the .config/calibre directory with root as the owner.

You can use sudo, so you have access to the kids' directories, but better only do that with sudo as root in an emergency. If you routinely do stuff in the kids' directories, you could do so by making sure the kids group has write permissions and you belong to the kids group. The kids could lock you out by removing permissions for the group, but you can fix that using sudo.

Don't put yourself in the root group. That could cause even more trouble.

Jorhel
September 3rd, 2017, 12:33 AM
That directory shouldn't be owned by root. It should be owned by your ordinary user, snukies. Best to fix the group too. Use
sudo chown -R snukies:snukies ~/.config/calibreMaybe the first time you ran calibre, you ran it with sudo. That would have created the .config/calibre directory with root as the owner.

You can use sudo, so you have access to the kids' directories, but better only do that with sudo as root in an emergency. If you routinely do stuff in the kids' directories, you could do so by making sure the kids group has write permissions and you belong to the kids group. The kids could lock you out by removing permissions for the group, but you can fix that using sudo.

Don't put yourself in the root group. That could cause even more trouble.

I did that and got

snukies@LN-PN067AA-ABE-SR1259ES-ES441:~$ sudo chown -R snukies:snukies ~/.config/calibre
[sudo] password for snukies:
snukies@LN-PN067AA-ABE-SR1259ES-ES441:~$ calibre
Illegal instruction (core dumped)

When I go to the calibre folder the owner and group has been change to snukies and I changed the group permission from none to read and write but still got the error message above.

Impavidus
September 3rd, 2017, 06:54 PM
The "No write access" message is gone, so the lesser of your problems is solved. The other message suggests that your version of calibre wasn't properly compiled for your hardware. I use the repository version of calibre (2.75.1), which is good enough for me, but maybe someone from your other thread who installed from their site has some ideas.