[ELDK] [PATCH RFSB] Fix device and directory permissions

Detlev Zundel dzu at denx.de
Fri Apr 30 12:20:37 CEST 2010


Hi Wolfgang,

> Some of the device permissions were incorrect; for example, loggin in
> as a non-root user would produce an error message:
>
> -sh: cannot create /dev/null: Permission denied
>
> Also, the /tmp directory is required to be world writable.
>
> Use more standard permissions on device nodes and some directories.
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Detlev Zundel <dzu at denx.de>
> ---
>  Makefile                  |    3 ++-
>  config/rootfs_devices.tab |   38 +++++++++++++++++++-------------------
>  custom/rootfs/etc/rc.sh   |    3 ++-
>  custom/rootfs_devices.tab |   24 ++++++++++++------------
>  4 files changed, 35 insertions(+), 33 deletions(-)

Hm, actually I do not want to have any file under custom/.  I know that
two files creeped in here, but I'd rather remove them than going even
further into this direction.

Apart from that, my repo doesn't even have a
"custom/rootfs_devices.tab".  The commit which introduced this feature
didn't have such a file - as it turns out correctly.

Is it ok if I apply only the Makefile + config/ part?

Thanks
  Detlev

-- 
Lotus Notes (GUI):   Run away from it.
                           -- linux/Documentation/email-clients.txt
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de


More information about the eldk mailing list