All of lore.kernel.org
 help / color / mirror / Atom feed
* Setting directories permissions
@ 2017-06-13  6:31 Oliver Graute
  2017-06-13 12:16 ` Laurent Gauthier
  0 siblings, 1 reply; 2+ messages in thread
From: Oliver Graute @ 2017-06-13  6:31 UTC (permalink / raw)
  To: yocto

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@box:/etc/folder1# ls -la
drwxrwxr-x    2 root     webgrp         512 Jan  1  1970 folder2

but I get only this permissions:

root@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-06-13 12:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-13  6:31 Setting directories permissions Oliver Graute
2017-06-13 12:16 ` Laurent Gauthier

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.