You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The backend throws a std::filesystem_error exception and crashes when some folders aren't accessible on certain linux distributions (currently only reproducible on RHEL7) .
For example, if /etc/carta or ~/.carta isn't accessible, the backend can crash with an error in the log:
For example, calling fs::exists("/root") as a normal user works fine (it returns true), but calling fs::exists("/root/somefile") results in an error getting thrown. This presents problems if the user can't access /etc/carta, or something has been messed up and the user is trying to access a different user's $HOME/.carta (:facepalm: :facepalm: :facepalm: this should never happen, but people don't always follow instructions with carta-controller)
The backend throws a
std::filesystem_error
exception and crashes when some folders aren't accessible on certain linux distributions (currently only reproducible on RHEL7) .For example, if
/etc/carta
or~/.carta
isn't accessible, the backend can crash with an error in the log:[critical] filesystem error: status: Permission denied
.I suspect it has to do with not catching exceptions thrown from
std::filesystem::exists
calls.The text was updated successfully, but these errors were encountered: