Fix folder permissions to work on new or setup:permissions