New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 692251 link

Starred by 4 users

Issue metadata

Status: Assigned
Owner:
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Documentation of restrictions, error messages for chrome.fileSystem unclear.

Project Member Reported by sajordan@google.com, Feb 14 2017

Issue description

I recently read the documentation of this API to determine if it was suitable for my desired use-case (I wanted to read low level system log files) but was unable to determine that from the documentation. I then tried to use the API in my kiosk app with fileSystem permissions, but was unable to determine why it did not work from the error message or the documentation of the API.

Could you:

1. Update the documentation to describe what files could reasonably be/not be available through getVolumeList/requestFileSystem? As I understand now only the Downloads folder can be read/written to but I wasn't able to determine if the API could potentially apply to arbitrary directories or mounts on the device.

2. Change the line "Available to kiosk apps running in kiosk session only." to something more accurate like "Only available to kiosk apps whose manifest contains "kiosk_only": true"? I thought that because I was running a kiosk application in kiosk mode that I should have been able to use the API, but it actually requires the app to only be able to run in kiosk mode.

3. Similarly, in the source code could the following error be changed to reflect that the application needs to *only* be able to run in kiosk mode? 

Thanks,
Scott
 
Cc: mtomasz@chromium.org
Status: Assigned (was: Untriaged)
The set of available file systems is little wider than just the Downloads folder (e.g. one could get access to attached USB storage drives), but yeah, I'll update the documentation to emphasize that the API cannot access arbitrary mounts on the device.

As for requiring the app to be kiosk only (), I wonder if this should be changed to allow all kiosk enabled apps to request file system in kiosk sessions.
mtomasz@ could have more context on why the method requires kiosk_only manifest key. 
Project Member

Comment 2 by sheriffbot@chromium.org, Jul 27 2017

Labels: Hotlist-Google

Sign in to add a comment