| Summary: | [Btrfs/ostree] Directory exists but didn't pass the security checks, can't use it | ||
|---|---|---|---|
| Product: | [Frameworks and Libraries] frameworks-kio | Reporter: | Henning <boredsquirrel> |
| Component: | Trash | Assignee: | KIO Bugs <kio-bugs-null> |
| Status: | REPORTED --- | ||
| Severity: | major | CC: | kdelibs-bugs-null, nate, travier, voidpointertonull+bugskdeorg |
| Priority: | NOR | ||
| Version First Reported In: | 5.247.0 | ||
| Target Milestone: | --- | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Henning
2024-01-01 16:13:46 UTC
Those paths don't exactly look healthy, there's a need for quite a bit more context here: - What's the full path of the file you attempted to trash? - What's the mount point that file resides on? - Is your $HOME on a different mount point? If I interpret the problem well, then those extra zero bytes will lead to the path being just "/" which of course really shouldn't be used for trash purposes, but where are the garbage bytes coming from? Is KMountPoint::currentMountPoints getting an unexpected null byte somewhere and is Qt turning that into 2 bytes of zero due to using the horrible UTF-16 mess? Alternatively it could come from Solid::Device::listFromQuery, but that's in case of scanning for trash directories, and without more info I'll assume that the error was encountered when attempting to use the trash. Using an OSTree filesystem, so all files are mounted in /var/home. The system uses BTRFS
nvme0n1p3 259:3 0 929,9G 0 part
└─luks-abcd-xyz1-2345 253:0 0 929,9G 0 crypt /var/home
/var
/sysroot/ostree/deploy/fedora/var
/usr
/etc
/
/sysroot
I didnt delete any file actively I think, but if then it was somewhere in /var/home
some ideas, flatpak? or maybe distrobox with podman? |