no need to run linapple as sudo - it just needs write permission to it's folder. chown all folder to $user.
create ftp/cache and images folders as the install script does (but we don't use it as it is hardcoded)