[yocto] Setting directories permissions
Oliver Graute
oliver.graute at gmail.com
Mon Jun 12 23:31:46 PDT 2017
Hello List,
I try to define a directory permission for a folder to 0775 instead of
0755 in my recipe. But somewhere in the install and packaging process
this is overwritten.
in my receipe I do this:
do_install() {
install -m 0775 -d ${D}${sysconfdir}/folder1/folder2/
I expect this on the target:
root at box:/etc/folder1# ls -la
drwxrwxr-x 2 root webgrp 512 Jan 1 1970 folder2
but I get only this permissions:
root at box:/etc/folder1# ls -la
drwxr-xr-x 2 root webgrp 512 Jan 1 1970 folder2
I also tried to define it in the fs-perms.txt file. But this didn't work
either.
/etc/folder1/folder2 0775 root webgrp false - - -
some clue how to handle such directory permissions the yocto way?
Best Regards,
Oliver
More information about the yocto
mailing list