lua: fix for x-compile
transfer permission setup for /var/empty

this was previously done via pkg/openssh, but with restructuring done in
the past it makes much more sense to do it via root-perms.sh.
the access to the direct pathnames caused permission errors when doing a
non-privileged cross-compile.