nevkatz opened a new issue #379: Cannot use copyTo() to write files to a USB URL: https://github.com/apache/cordova-plugin-file/issues/379 # Bug Report ## Problem I have written logic where my cordova app copies files and directories from the device to a USB drive, and vice-versa. Both operations work fine on for android devices running the Lollipop OS. That said, while I can copy files from the USB to the device in Pie, I cannot copy files from the USB to pie. ### What is expected to happen? The app is supposed to copy the file or directory successfully from the device to the USB. ### What does actually happen? When calling the copyTo() function I get error code 6, which I gather is a permissions error, and the file or directory is not copied. ## Information From what I can tell, this has to due with enhanced security restrictions introduced by the Pie OS. I was wondering if there was a version of this plugin that enabled you to successfully write to a USB drive, or if there was something I needed in my config.xml or another plugin that would be needed to write to a USB. Thank you for any input. <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> ### Environment, Platform, Device <!-- In what environment, on what platform or on which device are you experiencing the issue? --> ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> ## Checklist <!-- Please check the boxes by putting an x in the [ ] like so: [x] --> - [ ] I searched for existing GitHub issues - [ ] I updated all Cordova tooling to most recent version - [ ] I included all the necessary information above
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
