Re: [OE-core] [PATCH] sstate: fix touching files inside pseudo

2021-10-20 Thread Jose Quaresma
ed-core@lists.openembedded.org > > Cc: Jose Quaresma > > Subject: [OE-core] [PATCH] sstate: fix touching files inside pseudo > > > > running the 'id' command inside the sstate_create_package > > function shows that this funcion run inside the pseudo: > > &

Re: [OE-core] [PATCH] sstate: fix touching files inside pseudo

2021-10-19 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org c...@lists.openembedded.org> On Behalf Of Jose Quaresma > Sent: den 18 oktober 2021 20:47 > To: openembedded-core@lists.openembedded.org > Cc: Jose Quaresma > Subject: [OE-core] [PATCH] sstat

[OE-core] [PATCH] sstate: fix touching files inside pseudo

2021-10-18 Thread Jose Quaresma
running the 'id' command inside the sstate_create_package function shows that this funcion run inside the pseudo: uid=0(root) gid=0(root) groups=0(root) The check for touch files [ ! -w ${SSTATE_PKG} ] will always return true and the touch can fail when the real user don't have permission or in