Probably answered many times, but I connot find the solution of my case.
I'm compiling a Yocto project with bitbake.
A recipe of bitbake try to change the permission of some dir and files using chown command. The problem is that the command fails because of changing ownership operation not peermitted.
Bitbake command is launched by user luca, that is also a sudoers. If I type ls -l what i see in the problematic folder is:
-rw-r--r-- 1 luca luca 1875 May 13 17:10 arm-thumb-mutex_db5.patch -rw-r--r-- 1 luca luca 33 May 13 17:10 configure.sstate drwxr-xr-x 16 luca luca 4096 May 13 17:10 db-6.0.30 -rw-r--r-- 1 luca luca 665 May 13 17:10 fix-parallel-build.patch drwxr-xr-x 3 luca luca 4096 May 13 19:11 image drwxr-xr-x 2 luca luca 4096 May 13 19:11 temp
Onbviously iif I manuaally type, for exaample,
sudo chowwn 777 image it works, but I cannot change the bitbake script that causes the error.
What's wrong with my permission and user?