ODrive
ODrive copied to clipboard
[BUG] [Error: EACCES: permission denied
Describe the bug odrive does not have permission to access the file: '/home/MY_USER/.config/odrive/db/global.db' software don't work.
To Reproduce Steps to reproduce the behavior: I installed the version: odrive_0.3.0_amd64.deb. I synchronized with the Google Drive account in the cloud and restarted the PC.
In the terminal I launch the program and the message is displayed- which is not allowed to access the file:
$ odrive
/opt/OpenDrive/resources/app.asar/public app started on port 16409 Uncaught exception -13 { [Error: EACCES: permission denied, open '/home/MY_USER/.config/odrive/db/global.db'] errno: -13, code: 'EACCES', syscall: 'open', path: '/home/MY_USER/.config/odrive/db/global.db' }
If I check the option: 'Launch on startup' and restart the PC, the opendrive icon is displayed on the taskbar, but it is not functional because it does not have superuser permission. So if I click on "Preferences ..." opens a blank window.
Desktop (please complete the following information):
- OS: [Linux Mint 19.2 x64 Cinnamon]
- OpenDrive Version [odrive_0.3.0_amd64.deb]
The same error occurs in version 0.2.2
try to change the permission of global.db cd .config/odrive/db sudo chmod -777 global.db