added option "-p", 3 permissions are support(private, public_read, public_write)