Skip to content

Backport !2583 “Fix trashing sandboxed directories” to glib-2-72

We must not open the fd with O_PATH|O_NOFOLLOW, since the portal rejects that combination. Leaving out O_NOFOLLOW is fine in this case - we know it is a directory, we just received EISDIR.

Fixes: #2629 (closed)


Trivial backport of !2583 (merged) to glib-2-72.

Merge request reports