Quick question:
I created a file in /tmp on my WP8548: /tmp/test.txt
How do i access it in my Sandboxed app?
I tried adding
requires:
{
file:
{
/tmp/test.txt /tmp
}
}
But i still cannot open it.
Quick question:
I created a file in /tmp on my WP8548: /tmp/test.txt
How do i access it in my Sandboxed app?
I tried adding
requires:
{
file:
{
/tmp/test.txt /tmp
}
}
But i still cannot open it.
you can have a look on this one:
I read through it and tried changing the permissions, but i still can’t even read the file.
Do i need to add something else except
requires:
{
file:
{
/tmp/test.txt /tmp/
}
}
in order to read it?
I don’t see problem with WP76 R13.
You can use my app attached.
root@swi-mdm9x28-wp:/tmp# cd /tmp
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# echo hello_everybody > hello.txt
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# chmod o+w hello.txt
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# xattr set ‘security.SMACK64’ ‘app.hello7rwx’ hello.txt
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# xattr get hello.txt
name=security.SMACK64; value=app.hello7rwx
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# app start hello7
root@swi-mdm9x28-wp:/tmp#
root@swi-mdm9x28-wp:/tmp# cat /tmp/hello.txt
hello_everybody
hel
hello7.rar (297.9 KB)