install resource.cfg with less open permissions

resource.cfg may contain sensitive information, so do not install it
world readable.

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>
fixed syntax error in core post script

Signed-off-by: Sven Nierlein <Sven.Nierlein@consol.de>