From: Oliver Graute <oliver.graute@gmail.com>
To: yocto@yoctoproject.org
Subject: Setting directories permissions
Date: Tue, 13 Jun 2017 08:31:46 +0200 [thread overview]
Message-ID: <20170613063146.GA21721@graute-opti> (raw)
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
next reply other threads:[~2017-06-13 6:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-13 6:31 Oliver Graute [this message]
2017-06-13 12:16 ` Setting directories permissions Laurent Gauthier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170613063146.GA21721@graute-opti \
--to=oliver.graute@gmail.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.