Fixed temp rights for application without cur_user