A new issue has cropped up for me—possibly since iPadOS 14 was released (last week as of this writing), but I’m not sure it hasn’t been around longer since it’s been some weeks since I last tried doing this and it worked. The issue is specifically with creating files on an SMB share.
My iPad’s Files sidebar has an SMB share (boringly called
Shared and located on the Linux machine at ~/Shared) exported by Samba from an Ubuntu Linux workstation on my home network, the same network my iPad’s on.
It works for fine for editing files—meaning, if I open a file from an app supporting Files selection, or use the Files app itself to invoke an app using a long-press on a file in Shared, I can modify it, and those changes propagate to my Linux machine’s storage with no problem.
It also works for deleting files using the Files app, by long-holding on the file in Shared and selecting Delete Now.
The problem arises only when I try to create a new file. If I copy a file into it by what I think of as the “classic Windows method”—finding its original location, long-pressing to Copy, navigating to Shared and doing Paste, I get:
which is an error panel reading,
The operation couldn’t be completed. Operation canceled
If I try to save a file into Shared directly from an app’s export sheet, I get the same:
I have tried restarting the Linux machine and ejecting and remounting the SMB share on the iPad.
One additional possible clue: I thought perhaps doing
touch ~/Shared/two-boxes.svg on Linux prior to attempting the creation might work, since editing existing files works. I did this and then tried to paste the two-boxes.svg file, and got the box warning me of overwriting the empty file:
Replace Existing Items
The file “two-boxes” already exists in this location. Do you want to replace it with the one you’re copying?
Interestingly, if I select Replace, I get the same “Operation canceled” error, but then no
two-boxes.svg file at all is left behind. On the other hand, if I select Keep Both, I get no error, but also nothing happens—the old file remains and no new file is created.
One final possible clue: if I go into Shared in the Files app and try to create a new directory, the Files app itself crashes immediately (I’m sent to the home screen and when I restart Files, it reinitializes its state). But oddly, even though it crashes, it worked: the directory is created and visible on Linux!