Summary: | Cannot create files in, or copy files into, the filesystem root (/) using kio-admin | ||
---|---|---|---|
Product: | [Applications] dolphin | Reporter: | solomoncyj |
Component: | general | Assignee: | Dolphin Bug Assignee <dolphin-bugs-null> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | john.kizer, kfm-devel, sitter |
Priority: | NOR | ||
Version First Reported In: | 24.08.2 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
solomoncyj
2024-11-29 14:52:39 UTC
Hi - the image you provided is of attempting to paste into the filesystem root. I'm also on Fedora 41, and the filesystem root (I assume by default) does not have write permissions granted to even its owner: $ ls -la / total 20 dr-xr-xr-x. 1 root root 168 Nov 29 14:01 . dr-xr-xr-x. 1 root root 168 Nov 29 14:01 .. ... Have you verified that root has access to perform the action you are attempting? ls -la / total 24K dr-xr-xr-x. 1 root root 168 Nov 29 22:41 ./ dr-xr-xr-x. 1 root root 168 Nov 29 22:41 ../ > cd / >sudo touch file [sudo] password for solomoncyj: > stat file File: file Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 0,42 Inode: 14788468 Links: 1 Access: (0644/-rw-r--r--) Uid: ( 0/ root) Gid: ( 0/ root) Context: unconfined_u:object_r:etc_runtime_t:s0 Access: 2024-12-06 07:24:26.527378046 +0800 Modify: 2024-12-06 07:24:26.527378046 +0800 Change: 2024-12-06 07:24:26.527378046 +0800 Birth: 2024-12-06 07:24:26.527378046 +0800 Very interesting, thanks for walking through - didn't think to even try that there! I wonder if somehow the change here - https://invent.kde.org/system/kio-admin/-/commit/a61396a81fccb6191f2fa21f592ba5a097007345 - has something to do with issues around certain actions where the directory path is only "/"? But I'm definitely no expert there. Moving back to dolphin. What seems to happen, is that dolphin looks at the permissions of the directory and then decides it doesn't even want to try to paste. Notably you can observe the same defect if you take away write permissions on a random directory in your home and try to paste into it. Realized thanks to Harald's explanation, while looking for another bug, that this had been previously reported *** This bug has been marked as a duplicate of bug 492706 *** |