Return-Path: X-Original-To: apmail-cordova-issues-archive@minotaur.apache.org Delivered-To: apmail-cordova-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A60418243 for ; Mon, 25 Jan 2016 18:47:41 +0000 (UTC) Received: (qmail 8181 invoked by uid 500); 25 Jan 2016 18:47:40 -0000 Delivered-To: apmail-cordova-issues-archive@cordova.apache.org Received: (qmail 8124 invoked by uid 500); 25 Jan 2016 18:47:40 -0000 Mailing-List: contact issues-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@cordova.apache.org Received: (qmail 7626 invoked by uid 99); 25 Jan 2016 18:47:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jan 2016 18:47:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id DA4552C1F60 for ; Mon, 25 Jan 2016 18:47:39 +0000 (UTC) Date: Mon, 25 Jan 2016 18:47:39 +0000 (UTC) From: "Nikhil Khandelwal (JIRA)" To: issues@cordova.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CB-10425) Android External Storage directories not writable even with permissions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CB-10425?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15115741#comment-15115741 ] Nikhil Khandelwal commented on CB-10425: ---------------------------------------- What version of Android OS are you running on? > Android External Storage directories not writable even with permissions > ----------------------------------------------------------------------- > > Key: CB-10425 > URL: https://issues.apache.org/jira/browse/CB-10425 > Project: Apache Cordova > Issue Type: Bug > Components: Plugin File > Environment: Phonegap using plugin cordova-plugin-dialogs > Reporter: Ryan Mark O'Connor > Labels: triaged > Original Estimate: 4h > Remaining Estimate: 4h > > Using latest phonegap and cordova-plugin-dialogs, checked the following line is present in android xml: > > Trying to execute the following code: > var dstDir = cordova.file.externalApplicationStorageDirectory.replace("file://", ""); > directory.copyTo(root, dstDir, function() { alert('Export successful. Your exported photos can be found in ' + dstDir); }, errorHandler); > The error handler is called with error code 6: FileError.NO_MODIFICATION_ALLOWED_ERR > This also occurs if trying to use the external storage root as the destination directory. How can I get it to work? The value of dstDir on a real android tablet is: > /storage/emulated/0/Android/data/org.winston.photoarchiver/ -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org For additional commands, e-mail: issues-help@cordova.apache.org