Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Robert Yang <liezhi.yang@windriver.com>
To: Dan McGregor <danismostlikely@gmail.com>
Cc: Patches and discussions about the oe-core layer
	<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH 1/1] fs-perms.txt: fix ROOT_HOME's permission
Date: Thu, 7 Apr 2016 21:46:53 +0800	[thread overview]
Message-ID: <570664CD.4090501@windriver.com> (raw)
In-Reply-To: <CACS+7ZQ55g1EQkWD5OQOH0zU=S1p9BRx_Nn8u5FKQmL3_-QEcw@mail.gmail.com>



On 04/07/2016 09:30 PM, Dan McGregor wrote:
> On 7 April 2016 at 01:50, Robert Yang <liezhi.yang@windriver.com> wrote:
>> It should be 0700 rather than 0755.
>>
>> Reported-by: Charles Chan <charles.wh.chan@gmail.com>
>> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
>> ---
>>   meta/files/fs-perms.txt | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt
>> index 109cbe5..1d74da7 100644
>> --- a/meta/files/fs-perms.txt
>> +++ b/meta/files/fs-perms.txt
>> @@ -51,6 +51,7 @@ ${localstatedir}/lock link    /run/lock
>>   ${localstatedir}/tmp   link    volatile/tmp
>>
>>   /home                          0755    root    root    false - - -
>> +${ROOT_HOME}                   0700    root    root    false - - -
>
> I'd like to see this in the section labelled "Special permissions from
> base-files" around line 58. I think that makes it more clear that this
> is a special permission setting.

Thanks, updated in the repo:

   git://git.openembedded.org/openembedded-core-contrib rbt/home
   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/home


commit ccc59f44f5fc6c6ccef6b0fed58b0d582c9ee32b
Author: Robert Yang <liezhi.yang@windriver.com>
Date:   Tue Apr 5 22:34:25 2016 -0700

     fs-perms.txt: fix ROOT_HOME's permission

     It should be 0700 rather than 0755.

     Reported-by: Charles Chan <charles.wh.chan@gmail.com>
     Signed-off-by: Robert Yang <liezhi.yang@windriver.com>

diff --git a/meta/files/fs-perms.txt b/meta/files/fs-perms.txt
index 109cbe5..6c1083c 100644
--- a/meta/files/fs-perms.txt
+++ b/meta/files/fs-perms.txt
@@ -59,6 +59,7 @@ ${localstatedir}/local                0755    root    root 
false - - -
  # Set 1777
  /tmp                           01777   root    root    false - - -
  ${localstatedir}/volatile/tmp  01777   root    root    false - - -
+${ROOT_HOME}                   0700    root    root    false - - -

  # Set 755-lsb
  /srv                           0755    root    root    false - - -


// Robert

>
>
>>   /srv                           0755    root    root    false - - -
>>   ${prefix}/src                  0755    root    root    false - - -
>>   ${localstatedir}/local         0755    root    root    false - - -
>> --
>> 2.8.0
>>
>> --
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>


  reply	other threads:[~2016-04-07 13:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-07  7:50 [PATCH 0/1] fs-perms.txt: fix ROOT_HOME's permission Robert Yang
2016-04-07  7:50 ` [PATCH 1/1] " Robert Yang
2016-04-07 13:30   ` Dan McGregor
2016-04-07 13:46     ` Robert Yang [this message]
2016-04-07 15:55       ` Dan McGregor
2016-04-08  0:47         ` Robert Yang
2016-04-08  3:49           ` Dan McGregor
2016-04-14 16:23           ` Dan McGregor
2016-04-14 16:33             ` Burton, Ross

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=570664CD.4090501@windriver.com \
    --to=liezhi.yang@windriver.com \
    --cc=danismostlikely@gmail.com \
    --cc=openembedded-core@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox