jmanc3 / winbar

A familiar X11 panel/dock to ease new linux users transition

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Icon cache generation crashes with directory without permissions

D3SOX opened this issue · comments

commented

I'm at cf17aa7

I haven't looked at the code, but I guess you are doing some kind of recursive directory listing, and it crashes once it goes into a folder without permissions.

terminate called after throwing an instance of 'std::filesystem::__cxx11::filesystem_error'
  what():  filesystem error: status: Permission denied [/usr/share/kwin/shaders/1.40/1.40]
[1]    457259 IOT instruction (core dumped)  winbar

@D3SOX it should skip folders it doesn't have permissions to in the latest commit: d6d0d15.
Let me know if this fixes your problem.

commented

That fixed it!