Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to open vault over SMB, “couldn’t be copied” error #361

Open
2 tasks done
izosozi opened this issue Jun 8, 2024 · 0 comments
Open
2 tasks done

Unable to open vault over SMB, “couldn’t be copied” error #361

izosozi opened this issue Jun 8, 2024 · 0 comments
Labels
type:bug Something isn't working

Comments

@izosozi
Copy link

izosozi commented Jun 8, 2024

Please agree to the following

Summary

Adding an existing vault over SMB from Windows machine causes the error ‘"vault.cryptomator" couldn't be copied to "tmp".‘ with error codes 22, 512 in log

System Setup

  • iOS: 17.5.1
  • Cryptomator iOS: 2.5.2 (1228)
  • Windows 10 22H2
  • Cryptomator Windows: 1.12.4
  • Seagate SCIS exFAT HDD

Cloud Type

Other File Provider

Steps to Reproduce

  1. Created test vault with Cryptomator GUI at top directory level of external HDD in Windows using default settings
  2. In iOS app, Add Vault > Open Existing Vault > Other File Provider > Select Vault Folder
  3. Navigate into the vault folder /host/HDD/testvault within the Files overlay > Open

Expected Behavior

The vault contents should be available

Actual Behavior

The error ‘vault.cryptomator" couldn't be copied to "tmp".‘ appears on a dialog box. After dismissing, the app remains on the Open Existing Vault page.

IMG_1210

Reproducibility

Always

Relevant Log Output

org.cryptomator.ios.fileprovider 2024-06-08--09-02-20-228.log:

2024/06/08 09:05:29:932  enumerator(for:
NSFileProviderItemIdentifier(_rawValue: NSFileProviderRootContainerItemIdentifier)) failed as the extension is not initialized

—

org.cryptomator.ios 2024-06-08--09-03-16-840.log:

2024/06/08 18:21:18:751  Error: Error Domain=NSCocoaErrorDomain Code=512 "“vault.cryptomator” couldn’t be copied to “tmp”." UserInfo={NSSourceFilePathErrorKey=/private/var/mobile/Library/LiveFiles/com.apple.filesystems.smbclientd/<redacted>/testvault/vault.cryptomator, NSUserStringVariant=(
    Copy
), NSDestinationFilePath=/private/var/mobile/Containers/Data/Application/7AC6E709-7438-49C6-8A11-A69329410552/tmp/B02DE745-0AFE-4F24-B1B5-DF6F2C6B1B2D, NSFilePath=/private/var/mobile/Library/LiveFiles/com.apple.filesystems.smbclientd/<redacted>/testvault/vault.cryptomator, NSUnderlyingError=0x302f0e5e0 {Error Domain=NSPOSIXErrorDomain Code=22 "Invalid argument"}}

Anything else?

I also tried this with a preexisting vault already containing data and got the same error.

@izosozi izosozi added the type:bug Something isn't working label Jun 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant