[Arm-dev] Wrong permissions on /etc/sysconfig/network-scripts

Fri May 20 12:37:22 UTC 2016
Mandar Joshi <emailmandar at gmail.com>

> Looked a bit further and it looks that whoever set the system up was
> not careful enough with the ownership of directories/files:
> ===
> [root at centos-rpi3 /]# find / -xdev \( -nouser -o -nogroup \) -ls
>  19531    4 drwxr-xr-x   2 1000     1000         4096 Nov 27 16:23 /etc/rbf
>  19538    4 -rw-r--r--   1 1000     1000           92 Mar 15 16:20
> /etc/rbf/board.xml
>    448    4 drwxr-xr-x   6 1000     1000         4096 May 20 10:51
> /etc/sysconfig
>    348    4 -rw-rw-r--   1 1000     1000          198 Mar 15 16:20 /etc/fstab
>    349    4 -rw-rw-r--   1 1000     1000           11 Mar 15 16:20 /etc/hostname

Thanks for pointing out the problem. This is something I'll have to
fix in RootFS Build Factory.
I've used "cp -rpv ./etc/* /tmp/temp/etc/" to copy the entire etc
overlay for an image.
This part of the code needs changes.
I'll be done with my final year exams at the end of this month. Will
fix it then.