File permissions within a snap
Jenny Murphy
jenny.murphy at episensor.com
Wed Aug 24 10:58:46 UTC 2016
Hi,
I have a java application built as a .snap.
As part of its normal operation it will create some files (for output).
However this is not successful due to permissions issue :
For example , I tried to create the file in /home/ubuntu/examples/ :
java.io.FileNotFoundException: /home/ubuntu/examples/example.txt
(Permission denied)
I got a similar result whenI tired to create it in the current dir :
/apps/gateway.sideload/IcNYWMFDGBeY
So is there a way around this?
Thanks in advance for any suggestions.
--
*Jenny Murphy*
*EpiSensor, Georges Quay House, Georges Quay, Limerick, Ireland*
jenny.murphy at episensor.com <jenny.murphy at episensor.com> t | +353 (0) 61
512 511 w | http://www.episensor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160824/32b00c84/attachment.html>
More information about the Snapcraft
mailing list