Bug 507716

Summary: Cannot copy local files inside a newly created remote folder via SFTP (Dolphin) due to "You don't have permission to write on this folder" even though the user has
Product: [Frameworks and Libraries] kio-extras Reporter: Leonardo (MrPowerGamerBR) <git>
Component: SFTPAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version First Reported In: 25.04.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Leonardo (MrPowerGamerBR) 2025-08-01 02:33:13 UTC
SUMMARY
When trying to move a file via SFTP using Dolphin into a newly created folder, Dolphin complains about "You don't have permission to write on this folder"

STEPS TO REPRODUCE
1. Connect to a SFTP server using Dolphin (I'm connecting via Tailscale, connected as root)
2. Create a folder anywhere
3. Go inside the folder
4. Try copying a file from your local disk to the SFTP server

Dolphin will complain about that you don't have permission to write files to the directory

OBSERVED RESULT
Dolphin complains about "You don't have write permission on this folder"

EXPECTED RESULT
That the file was copied correctly

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.15.8-arch1-2 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 5800X3D 8-Core Processor
Memory: 32 GiB of RAM (31.2 GiB usable)
Graphics Processor: NVIDIA GeForce RTX 3060 Ti

ADDITIONAL INFORMATION

Creating the folder, creating a file to the parent folder and moving the file to the newly created folder magically fixes the issue, so it can't be a permission issue (?)

F5 does not fix the issue

If you create a empty text file (via Right Click -> New -> Text File) and THEN copy the local file to the remote directory it DOES work correctly