[poky] [PATCH 1/1] sudo: Modify ownership for directory "/var/lib"

Wolfgang Denk wd at denx.de
Sat May 21 11:48:55 PDT 2011


Dear Xiaofeng Yan,

In message <d448b57c57fec346230d40fadc08625bd8c83224.1305972143.git.xiaofeng.yan at windriver.com> you wrote:
> From: Xiaofeng Yan <xiaofeng.yan at windriver.com>
> 
> [YOCTO #1092]
> Solve access permission for directory "/var/lib".
> Makefile from package sudo change the ownership incorrectly.
> 
> Signed-off-by: Xiaofeng Yan <xiaofeng.yan at windriver.com>
> ---
>  meta/recipes-extended/sudo/sudo.inc |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-extended/sudo/sudo.inc b/meta/recipes-extended/sudo/sudo.inc
> index 6a04a9c..5ea089c 100644
> --- a/meta/recipes-extended/sudo/sudo.inc
> +++ b/meta/recipes-extended/sudo/sudo.inc
> @@ -30,4 +30,5 @@ pkg_postinst_${PN} () {
>  
>  	chmod 4111 /usr/bin/sudo
>  	chmod 0440 /etc/sudoers
> +	chmod 0755 /var/lib

Sorry, but this commit message is misleading.  You don't change the
ownership here, but the file permissions.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never put off until tomorrow what you can put off indefinitely.



More information about the poky mailing list