All of lore.kernel.org
 help / color / mirror / Atom feed
* Access Control List (ACL) permissions attributes not getting preserved in rootfs
@ 2016-08-12 12:33 Kumar, Shrawan
  2016-08-12 13:52 ` Joshua G Lock
  0 siblings, 1 reply; 8+ messages in thread
From: Kumar, Shrawan @ 2016-08-12 12:33 UTC (permalink / raw)
  To: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1367 bytes --]

Hello All,

I am  using  poky " jethro"  , and  though  one of my recipe, I have created user1 & user2 and then trying to set ACL rules  on "helloworld" bin as below :


do_install() {
                    install -d ${D}${bindir}
                    install -m 0700 helloworld ${D}${bindir}
                    install -d ${D}/lib/systemd/system
                    install -m 0700 hello.service ${D}/lib/systemd/system/
                    chown    user1:group1 ${D}${bindir}/helloworld
                   setfacl -m u:user2:r-- ${D}${bindir}/helloworld
}



è When I see   on the devshell ( bitbake HelloWorld -c devshell)  : poky/build_qemux86/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/bin# getfacl helloworld    , I could see that ACL permissions are set correctly as below :

-        # file: helloworld

-        # owner: user1

-        # group: group1

-        user::rwx

-        user:user2:r--

-        group::---

-        mask::r--

-        other::---

However, It does not seems to be getting preserved in rootfs. :
/poky/build_qemux86/tmp/work/qemux86-poky-linux/core-image-minimal/1.0-r0/rootfs/usr/bin# getfacl helloworld
# file: helloworld
# owner: user1
# group: group1
user::rwx
group::---
other::---

quick help  here would be highly appreciated


Thanks & Regards
Shrawan

[-- Attachment #2: Type: text/html, Size: 8363 bytes --]

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

end of thread, other threads:[~2016-11-03 11:20 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-12 12:33 Access Control List (ACL) permissions attributes not getting preserved in rootfs Kumar, Shrawan
2016-08-12 13:52 ` Joshua G Lock
2016-08-16 11:55   ` Kumar, Shrawan
2016-08-16 19:52     ` Joshua G Lock
2016-08-17  4:47       ` Kumar, Shrawan
2016-08-17 14:57         ` Joshua G Lock
2016-10-27 12:55   ` Kumar, Shrawan
2016-11-03 11:20     ` Kumar, Shrawan

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.