setpermissions to pkginfo