Sid Ferreira created CB-10122:
---------------------------------

             Summary: iOS Permission Denied to create/save file
                 Key: CB-10122
                 URL: https://issues.apache.org/jira/browse/CB-10122
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin File Transfer
         Environment: ios
            Reporter: Sid Ferreira


This error just started and I still trying to solve.
I'm using the imgCache.js lib which usually works properly with Cordova, but 
this error happens on iOS.
As there's no custom configuration on the lib, I have no idea what to change to 
fix.

```
] INFO: LocalFileSystem opened
] INFO: Local cache folder opened: /imgcache/
] INFO: com.apple.MobileBackup metadata set
] $state.go('app.discover');
] FileTransferError {
    body = "Could not create path to save downloaded file: You don\U2019t have 
permission to save the file \U201cimgcache\U201d in the folder 
\U201cDonner12H321.N78OS\U201d.";
    code = 1;
    "http_status" = 200;
    source = 
"http://mlb-s2-p.mlstatic.com/acessorios-garrafas-en-ciclismo-398401-MLB20329596893_062015-S.jpg";;
    target = 
"cdvfile://localhost/root/imgcache/54b908737cfb2c20dd013d96eb5c496437c49768.jpg";
}
] File Transfer Error: Could not create path to save downloaded file: You don’t 
have permission to save the file “imgcache” in the folder “Donner12H321.N78OS”.
] ERROR: Download error source: 
http://mlb-s2-p.mlstatic.com/acessorios-garrafas-en-ciclismo-398401-MLB20329596893_062015-S.jpg
] ERROR: Download error target: 
cdvfile://localhost/root/imgcache/54b908737cfb2c20dd013d96eb5c496437c49768.jpg
] ERROR: Download error code: 1
```



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to