An Apps folder at the iPhone root (and an Apps entry under the device in Devices) lists the user apps that share files (installation_proxy Browse, UIFileSharingEnabled), by display name. ios://<udid>/Apps/<bundle id>/<path> maps to /Documents/<path> on a house_arrest AFC client (VendDocuments, then VendContainer), so the AFC Location code serves copy, move, rename and delete. Co-Authored-By: Claude Opus 5.5 <[email protected]>
3.9 KiB
3.9 KiB
Real-world checks
Things only a person with the hardware, the other apps and a real server can check (D-003, D-009). Install first (bash scripts/install.sh, then the printed sudo install line for the polkit policy; for the elevation check tunal must be at /usr/bin/tunal). Write pass or fail and what you saw next to each line; paste failures to the session that runs S036.
Run Tunal from a terminal so its stderr is visible; the lines named below are printed there.
1. Elevation (polkit)
- In a terminal:
sudo mkdir /root-test-tunal && sudo touch /root-test-tunal/a.txt. - In Tunal open
/and try to renameroot-test-tunal(or create a folder inside it). - Expect: a plain "needs administrator" error with a button to retry as administrator.
- Press it. Expect: the system polkit dialog (not a Tunal field) asks for your password. Type it there.
- Expect: the operation works; a second one soon after does not ask again (auth_admin_keep).
- Cancel the dialog once on purpose. Expect: a clear message, nothing changed.
- Check
journalctl -b | grep -i tunaland the terminal for your password: it must not appear. - Clean up:
sudo rm -r /root-test-tunal.
2. iPhone
systemctl status usbmuxdis running. Plug the phone in, unlock it.- Expect: the phone shows in Places. Tap "Trust" on the phone when asked.
- Open it. Expect: the Photos (DCIM) and other AFC folders list.
- Copy a photo to your PC, then a small file into a folder that accepts files (for example Downloads or Books), both by paste and by drag.
- Unplug while a copy runs. Expect: an error toast, no hang; the place disappears.
- iPhone: Apps folder lists file-sharing apps (the
Appsfolder in the phone and theAppsentry under it in Devices, by app name); open one, copy a file in and out.
3. Android phone
- Phone unlocked, USB mode "File transfer".
- Expect: the phone shows in Places. If it says no permission, you need the usual MTP udev rule (a
uaccessrule or theandroid-udevpackage). - Browse the internal storage, open a folder with 1000+ files (Camera): the list stays smooth.
- Copy a file to the PC and one back. Rename it on the phone, then delete it.
- Expect: nothing else (file manager apps, gvfs) holds the device; if "another program is using the device", stop gvfs-mtp-volume-monitor and retry.
4. Drag and drop and clipboard with other apps
Do it once on Wayland and once on X11 (log in to the other session type, or run env -u WAYLAND_DISPLAY tunal under XWayland).
- Drag a file from Tunal onto a browser upload page and into Discord. Expect: the file is accepted (copy).
- Drag a file from the desktop or another file manager into a Tunal folder. Expect: the folder glows, the drop menu or the copy happens.
- Drag an image from a browser tab into Tunal. Expect: nothing breaks (a file may or may not arrive).
- Copy a file in Tunal, paste it in another file manager. Copy there, paste in Tunal. Cut in one, paste in the other: the source must go away.
- Copy a file in Tunal and paste into a text field of another app: the path or file name arrives.
5. SFTP
Only connect to hosts you own.
- A host from
~/.ssh/config: open the Network section, click it. - First connection to a host not in known_hosts: expect the host key prompt with the fingerprint. Compare it with
ssh-keygen -lfof the server's key. "Cancel" refuses; "Connect once" does not save; "Trust and connect" writes~/.config/tunal/known_hostsonly (never~/.ssh). - Key auth through the agent (
ssh-add -llists a key) and through a key file. - A saved connection with Password: expect the password prompt; the field is empty after sending; wrong password → asked again, three times at most.
- Browse, copy a file both ways, rename, delete, make a folder. Pull the network cable or
sudo systemctl stop sshdmid-listing: expect an error with "Try again", then recovery after the server is back. - grep the terminal output and
~/.config/tunal/for the password: it must not appear.