On Ubuntu 20.04 LTS unable to open logfile in hidde subdirectory "~/.subsurface"

32 views
Skip to first unread message

Audun Hansen

unread,
May 21, 2020, 4:25:13 AM5/21/20
to Subsurface Divelog
  • Which version are you using (hint: look at the About screen)?
Subsurface 4.9.4  latest/candidate  (latest/stable doesn't work, (qt5 error))
  • Which OS are you running?
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
  • (if applicable) which dive computer are you using?
Suunto Vyper

When running Ubuntu 18.04 LTS, Subsurface used folder '~/.subsurface' as home folder. I'm not able to navigate to the  ~/.subsurface folder or open the .xml logfile in that folder even if I give absolute path. Get Permision denied message.

Easy solution/workarouns is to copy/rename the folder and remove the leading "." :

$ cd ~; cp -r .subsurface subsurface

Now I'm able to browse and open my divelog xml-file in the new not hidden subfolder 

Regards
Audun 

Miika Turkia

unread,
May 21, 2020, 4:33:35 AM5/21/20
to Subsurface Divelog
Have you by any change ran Subsurface as root? Sounds like the dir is owned by someone else than your user and running following would fix it:

sudo chown -R ${USER} ~/.subsurface

Audun Hansen

unread,
May 21, 2020, 6:08:14 AM5/21/20
to Subsurface Divelog

torsdag 21. mai 2020 10.33.35 UTC+2 skrev Miika Turkia følgende:
Have you by any change ran Subsurface as root? Sounds like the dir is owned by someone else than your user and running following would fix it:

sudo chown -R ${USER} ~/.subsurface


No, no chance for that.

Since I did a copy of the directory, all permissions on dirs and files are the same and still are my standard user, not root. Seems like the problem more are connected to the part of the file-browser program in this version of Subsurface and how it handels hidden directories. I can browse all normal directories but get permission denied on all my hidden. A feature/bug in the filebrowser?

Dirk Hohndel

unread,
May 21, 2020, 12:06:31 PM5/21/20
to Subsurface Divelog
I understand that that's what you believe. It is, however, not what is happening here.

I am running Subsurface here on Ubuntu 20.04 just fine and it happily accesses the ~/.subsurface directory

Are you running a snap or AppImage or something? The description in your original email is nonsensical: "Subsurface 4.9.4  latest/candidate  (latest/stable doesn't work, (qt5 error))"
The recommended way to install Subsurface for Ubuntu would be from our PPA

sudo apt-add-repository ppa:subsurface/subsurface sudo apt-get update sudo apt-get install subsurface

/D

Audun Hansen

unread,
May 25, 2020, 5:26:41 PM5/25/20
to subsurfac...@googlegroups.com
You are right. I may seems like some snap file systems used in the background.

Restarted my computer
Tested Subsurface still got same error - not able to see or use the .subsurcace-folder

My 20.04 LTS is an upgrade from 18.04 LTS
I deinstalled Subsurface from/through 'Ubuntu Software' (worked well on 18.04)
and followed You method step by step.
It then upgraded libzip4 to libzip5 before an upgrade of Subsurface
Get:1 http://ppa.launchpad.net/subsurface/subsurface/ubuntu focal/main amd64 subsurface amd64 4.9.4-1~focal [8 381 kB]
Get:2 http://no.archive.ubuntu.com/ubuntu focal/universe amd64 libzip5 amd64 1.5.1-0ubuntu1 [46,7 kB]
And Subsurface started using the .subsurface folder as expected :-)

Thank You! 
--
Regards
Audun

--
You received this message because you are subscribed to a topic in the Google Groups "Subsurface Divelog" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/subsurface-divelog/E4dFqMeor3Y/unsubscribe.
To unsubscribe from this group and all its topics, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/5B4E3E67-E4D1-4553-BF57-7DEB9B3EAABC%40hohndel.org.
Reply all
Reply to author
Forward
0 new messages