Added 2 more arguments: allow_other / allow_root