Bug 510556

Summary: KIO 6.19.0: AFC protocol fails to rename/copy files to iOS app directories (Access Denied)
Product: [Frameworks and Libraries] frameworks-kio Reporter: Asha <onefreshfish>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kdelibs-bugs-null, nate, nicolas.fella
Priority: NOR    
Version First Reported In: 6.19.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Asha 2025-10-13 08:22:55 UTC
SUMMARY
After upgrading to KIO 6.19.0, write operations (rename, copy) to iOS device app directories via the afc:// protocol fail with "Access denied" errors. Creating new empty files works, and editing file contents works, but renaming files or copying existing files fails.

STEPS TO REPRODUCE
1. Connect iPhone via USB-C to system
2. Using Dolphin, navigate to afc://[device]/apps/org.videolan.vlc-ios/Documents
3. Try to copy a file into the directory OR try to rename an existing file

OBSERVED RESULT
Error: "Access denied. Could not write to afc://..."

EXPECTED RESULT
File is copied/renamed successfully

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux (rolling)
KDE Plasma Version: plasmashell 6.4.5
KDE Frameworks Version: 6.19.0

ADDITIONAL INFORMATION
- Downgrading to KIO 6.18.0 resolves the issue
- Creating new empty files works
- Editing existing file contents works
- Only rename and copy operations fail
- Affects multiple app directories (tested with VLC and Brave)
- libimobiledevice connection is working (ideviceinfo succeeds)
- Device is trusted and unlocked
Comment 1 Nicolas Fella 2025-10-14 10:34:23 UTC
Most likely the same cause as https://bugs.kde.org/show_bug.cgi?id=510567 and https://bugs.kde.org/show_bug.cgi?id=510456
Comment 2 Nate Graham 2025-10-14 15:45:13 UTC

*** This bug has been marked as a duplicate of bug 510567 ***