How to specify user path to access when snap app is running? such as
appname.start -user_path=/home/user_path
Thanks
How to specify user path to access when snap app is running? such as
appname.start -user_path=/home/user_path
Thanks
Just as you have written it? But the binary must take the parameter into account. The binary/app should have support for such parameter passing
I mean the privilgeg, snap app can not access local path except $SNAP
If the snap has the home
plug connected, any path from home can work
I can enum the /home/* now, but the /home/username/ cannot be enumerated, the errno is Permission denied
.
And I create /home/test and create files in it, they can be enumerated and read.
Strange…
soumyaxubuntu@soumyas-GF63-Thin-11UC:/$ cd /home
soumyaxubuntu@soumyas-GF63-Thin-11UC:/home$ ls
soumyaxubuntu soumyaxubuntu2
This is from within the shell of the firefox snap. I guess there is something you’re doing wrongly.
I got the reason, thank you!