chown problem on yocto recipe db_6.0.30

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

chown problem on yocto recipe db_6.0.30

跳至解决方案
5,532 次查看
LPs
Contributor III

Hi all,

   I downloaded fsl-release-bsp 3.14 patch from repo.

I'm trying to bild core-image-minimal, but the process do_install of db_6..30.bb recipe because of the recipe try to chown directories.

The process stops and gives me hundreds of errors that chown fails to change permissions.

The error, as far as I know, is correct because of bitbake has to be launched as normal user, not as root. Then chown cannot be performed.

Am I missing something???

标签 (3)
标记 (2)
1 解答
4,269 次查看
LPs
Contributor III

At the end it was permission on ..../sources/poky/meta/bitbake/bin files and ..../sources/poky/scripts.

I don't know why, but all files was downloaded from repo with r--r--r-- permission.

在原帖中查看解决方案

6 回复数
4,269 次查看
ajithpv
Contributor V

Hi LPs​,

Could you please change the typo "chwon" to chown in your heading? This will helpful for other users to reach your post while searching in the community.

Cheers,

Ajith P V

0 项奖励
回复
4,269 次查看
LPs
Contributor III

I edited.

4,270 次查看
LPs
Contributor III

At the end it was permission on ..../sources/poky/meta/bitbake/bin files and ..../sources/poky/scripts.

I don't know why, but all files was downloaded from repo with r--r--r-- permission.

4,269 次查看
gusarambula
NXP TechSupport
NXP TechSupport

Thanks for updating on this issue. I’m sure it will help other community users.

I’ve also seen this happened to some other people but I don’t know the root cause. I think they just used chown over the whole BSP directory.

chown -R user.user fsl-release-bsp

0 项奖励
回复
4,269 次查看
vishnukumar
Contributor I

Its better to user userid instead of username,

chown -R 1000:1000 /path

0 项奖励
回复
4,269 次查看
LPs
Contributor III

I don't know the real cause. I importend sources dir from a pre setup svn repository created on a remote server.

Maybe something that belongs to users from different computers.

0 项奖励
回复