Searched defs:pkgdir (Results 1 - 1 of 1) sorted by relevance
/frameworks/native/cmds/installd/ |
H A D | commands.cpp | 1644 const char* pkgdir = _pkgdir.c_str(); local 1647 if (stat(pkgdir, &s) < 0) return -1; 1649 if (chown(pkgdir, AID_INSTALL, AID_INSTALL) < 0) { 1650 ALOGE("failed to chown '%s': %s\n", pkgdir, strerror(errno)); 1654 if (chmod(pkgdir, 0700) < 0) { 1655 ALOGE("linklib() 1: failed to chmod '%s': %s\n", pkgdir, strerror(errno)); 1689 if (chmod(pkgdir, s.st_mode) < 0) { 1690 ALOGE("linklib() 2: failed to chmod '%s': %s\n", pkgdir, strerror(errno)); 1694 if (chown(pkgdir, s.st_uid, s.st_gid) < 0) { 1695 ALOGE("failed to chown '%s' : %s\n", pkgdir, strerro [all...] |
Completed in 167 milliseconds