Hi,
I want to change the ownership of some files in my bitbake recipe (see below). When i look into the built .ipk package the corresponding file is owned by ‘www-data’. However after flashing the whole image the owner is root again. How can i change file permissions correctly? Thanks in advance.
Hi,
I have added the user via “EXTRA_USERS_PARAMS” in my image recipe, however this does not solve my issue. When i reinstall the corresponding .ipk package at the running system everything is fine, the permissions are set and during installation the outputs says that the user already exist which is to be expected.
Its not a good workaround as several packages need to change permissions. It was working with older BSPs and i do not see the reason why it is not working right now. I have not found the time to dive in deeper into this problem…
It turned out that the user rights were successfully set with the code snippet above (“useradd”). The problem was within our custom updater. Thanks for your help.