perms not working, trying to rewrite in installer