failed to create symbolic link '/home/liuxg/snap/snaptest-app/x2/.themes/themes': Read-only file system

Oliver Grawert ogra at ubuntu.com
Mon Jul 11 14:10:38 UTC 2016


hi,
Am Montag, den 11.07.2016, 16:32 +0800 schrieb XiaoGuo Liu:
> Hi,
> 
> Today, I tried to snap a Ubuntu phone qmake project into a snappy
> application. When I run it I get a failure like the following:
> 
> liuxg at liuxg:~/snappy/desktop/snaptest$ snaptest-app.test 
> ln: failed to create symbolic link '/home/liuxg/snap/snaptest-
> app/x2/.themes/themes': Read-only file system

use a wrapper script and add:

cd $SNAP_USER_DATA 

before the exec command, so that SNAP_USER_DATA becomes your actual
workdir...

ciao
	oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160711/0998f1a1/attachment.sig>


More information about the Snapcraft mailing list