When running rmdir on a kio-fuse mount point, it might recursively delete the directory. Normally, rmdir is only supposed to delete the directory if it's empty, so this can result in data loss. I lost a bunch of directories due to this, but was fortunately able to restore from a backup. This bug was reported upstream (https://bugs.kde.org/show_bug.cgi?id=482902) and is already fixed (https://invent.kde.org/system/kio-fuse/-/merge_requests/77) in the master branch. Since there's no new upstream release yet and there's potential for data loss, could the patch be included in the Fedora package? Reproducible: Always Steps to Reproduce: 1. On the remote system, run `mkdir -p a/b` 2. On the local system, navigate to sftp://hostname in Dolphin (but don't open `a` itself) 3. Press F4 to open the terminal. This will auto-mount kio-fuse and `cd` to the proper directory 4. Run `rmdir a` Actual Results: `a` is deleted even though it's not empty Expected Results: rmdir should fail with ENOTEMPTY
Sure! Thanks for the information. I'll update package ASAP.
FEDORA-2024-58ca8c3605 (kio-fuse-5.1.0-5.fc40) has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-58ca8c3605
FEDORA-2024-02866d4489 (kio-fuse-5.1.0-2.fc39) has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2024-02866d4489
FEDORA-EPEL-NEXT-2024-d951d8eb02 (kio-fuse-5.1.0-2.el9.next) has been submitted as an update to Fedora EPEL 9 Next. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2024-d951d8eb02
FEDORA-2024-42c01b81b1 (kio-fuse-5.1.0-2.fc38) has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2024-42c01b81b1
Thanks for the super quick update! I gave it a try and can confirm the issue is fixed.
FEDORA-2024-02866d4489 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-02866d4489` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-02866d4489 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-58ca8c3605 has been pushed to the Fedora 40 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-58ca8c3605` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-58ca8c3605 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-EPEL-NEXT-2024-d951d8eb02 has been pushed to the Fedora EPEL 9 Next testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-NEXT-2024-d951d8eb02 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2024-42c01b81b1 has been pushed to the Fedora 38 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-42c01b81b1` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-42c01b81b1 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
This message is a reminder that Fedora Linux 40 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 40 on 2025-05-13. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '40'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 40 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed.
Fedora Linux 40 entered end-of-life (EOL) status on 2025-05-13. Fedora Linux 40 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed.