SNAP_USER_COMMON

Vasilisc vasilisc777 at gmail.com
Tue Aug 2 05:45:14 UTC 2016


test snap raise error
-------------------------
echo "Writing to $SNAP_USER_COMMON"
mkdir -p $SNAP_USER_COMMON/platform
echo "hello common" > $SNAP_USER_COMMON/common.txt
--------------
grep -F audit syslog

Aug  2 08:34:16 vb kernel: [ 2622.276193] audit: type=1400 
audit(1470116056.762:34): apparmor="ALLOWED" operation="mkdir" 
profile="snap.test2.test2" name="/home/vasilisc/snap/test2/common/" 
pid=4971 comm="mkdir" requested_mask="c" denied_mask="c" fsuid=1000 
ouid=1000
---------------
I readed
https://askubuntu.com/questions/762354/where-can-ubuntu-snaps-write-data
https://github.com/snapcore/snapd/pull/1396


How it is correct to use a variable SNAP_USER_COMMON from snap package?
-- 
Best regards,
vasilisc




More information about the Snapcraft mailing list