TheWiseNoob / OMP

OMP is an open-source music player being developed for Linux. OMP is programmed in C++ using gtkmm, GStreamer, TagLib, clastfm, and g++.
https://openmusicplayer.com
Other
100 stars 3 forks source link

Freshly installed OMP won't start: Permission denied #42

Closed Wuestengecko closed 1 year ago

Wuestengecko commented 5 years ago

I just installed omp-git from the AUR, and it fails to start.

% LC_ALL=C omp
terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: status: Permission denied [/home/wuestengecko/.omp/errors.md]
zsh: abort (core dumped)  LC_ALL=C omp
% ls -ld ~/.omp
d-w------- 1 wuestengecko wuestengecko 0 21. Apr 16:13 /home/wuestengecko/.omp

Manually correcting the directory's permissions to 755 allows omp to start successfully.

Stack trace from journalctl:

Process 27292 (omp) of user 1000 dumped core.

Stack trace of thread 27292:
#0  0x00007f55ec89582f raise (libc.so.6)
#1  0x00007f55ec880672 abort (libc.so.6)
#2  0x00007f55ecc2e58e _ZN9__gnu_cxx27__verbose_terminate_handlerEv (libstdc++.so.6)
#3  0x00007f55ecc34e0a _ZN10__cxxabiv111__terminateEPFvvE (libstdc++.so.6)
#4  0x00007f55ecc34e67 _ZSt9terminatev (libstdc++.so.6)
#5  0x00007f55ecc350bc __cxa_throw (libstdc++.so.6)
#6  0x000055cbc44326df _ZNSt10filesystem6statusERKNS_7__cxx114pathE.cold.203 (omp)
#7  0x000055cbc445a75f _ZNSt10filesystem6existsERKNS_7__cxx114pathE (omp)
#8  0x000055cbc4459ac6 _ZN17ConfigurationGUIsC2ER4Base (omp)
#9  0x000055cbc4463359 _ZN3GUIC2ER4Base (omp)
#10 0x000055cbc4446695 _ZN4BaseC2EiPPcN4Glib6RefPtrIN3Gtk11ApplicationEEE (omp)
#11 0x000055cbc4485c64 main (omp)
#12 0x00007f55ec881ce3 __libc_start_main (libc.so.6)
#13 0x000055cbc4432eae _start (omp)

Stack trace of thread 27294:
#0  0x00007f55ec94e0d1 __poll (libc.so.6)
#1  0x00007f55ed3ed690 n/a (libglib-2.0.so.0)
#2  0x00007f55ed3ee6d2 g_main_loop_run (libglib-2.0.so.0)
#3  0x00007f55ed821568 n/a (libgio-2.0.so.0)
#4  0x00007f55ed3c8c21 n/a (libglib-2.0.so.0)
#5  0x00007f55eca2aa92 start_thread (libpthread.so.0)
#6  0x00007f55ec958cd3 __clone (libc.so.6)

Stack trace of thread 27293:
#0  0x00007f55ec94e0d1 __poll (libc.so.6)
#1  0x00007f55ed3ed690 n/a (libglib-2.0.so.0)
#2  0x00007f55ed3ed77e g_main_context_iteration (libglib-2.0.so.0)
#3  0x00007f55ed3ed7d2 n/a (libglib-2.0.so.0)
#4  0x00007f55ed3c8c21 n/a (libglib-2.0.so.0)
#5  0x00007f55eca2aa92 start_thread (libpthread.so.0)
#6  0x00007f55ec958cd3 __clone (libc.so.6)