0

I am developing a snap package which is trying to write to $SNAP_DATA or $SNAP_COMMON, however these locations don't appear to be writable for my snap. These directories have owner and group as root and are only writable by owner. When I run my snap using "snap run my-snap" my program is simply getting "Permission denied" when trying to write to either of these locations.

I am testing on a Ubuntu 16.04.1 virtual machine.

Assuming these are supposed to be writable, are there any suggestions that may resolve this issue?

0

As you omitted details about the actual app in the snap it's really hard to guess.

I had similar situations and usually found out that executable file would not have execute permissions.

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.