ODrive icon indicating copy to clipboard operation
ODrive copied to clipboard

[BUG] [Error: EACCES: permission denied

Open antrrax opened this issue 5 years ago • 2 comments

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]

antrrax avatar Aug 04 '19 21:08 antrrax

The same error occurs in version 0.2.2

antrrax avatar Aug 11 '19 21:08 antrrax

try to change the permission of global.db cd .config/odrive/db sudo chmod -777 global.db

skvasistha avatar Oct 07 '19 11:10 skvasistha