Do not touch nor modify permissions if e.g. /root/.bash_history

is a link to e.g. /dev/null (bnc#883260)

Signed-off-by: Werner Fink <werner@suse.de>