Skip to content

Abort precheck if fuse is not available#837

Merged
TheOneRing merged 1 commit intomainfrom
work/check_for_fuse
Mar 9, 2026
Merged

Abort precheck if fuse is not available#837
TheOneRing merged 1 commit intomainfrom
work/check_for_fuse

Conversation

@TheOneRing
Copy link
Contributor

@TheOneRing TheOneRing commented Mar 3, 2026

Depends on #839

@TheOneRing TheOneRing force-pushed the work/check_for_fuse branch 3 times, most recently from 1a6ec63 to a1d9bcf Compare March 4, 2026 09:53
@TheOneRing TheOneRing force-pushed the work/check_for_fuse branch from a1d9bcf to 4388ac6 Compare March 9, 2026 10:02
if (QStandardPaths::findExecutable(u"fusermount3"_s).isEmpty()) {
qCWarning(lcVfsXAttr) << u"fusermount3 is not installed on the system";
return false;
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add another check if the openvfsfuse binary is available and executable?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm the two here are system checks.
Fuse might not be available on the system.
openvfs is a mandatory dependency of opencloud.
We link the openvfs lib, so the plugin loading would already fail. If the executable is missing.... we would display an error later in the ui.

@TheOneRing TheOneRing merged commit e71ddd4 into main Mar 9, 2026
13 checks passed
@TheOneRing TheOneRing deleted the work/check_for_fuse branch March 9, 2026 14:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants