Searched refs:pkgpath (Results 1 - 1 of 1) sorted by relevance
/frameworks/base/cmds/installd/ |
H A D | commands.c | 308 char pkgpath[PKG_PATH_MAX]; local 312 if (create_pkg_path(pkgpath, PROTECTED_DIR_PREFIX, pkgname, ".apk")) 315 if (stat(pkgpath, &s) < 0) return -1; 317 if (chown(pkgpath, s.st_uid, gid) < 0) { 318 LOGE("failed to chgrp '%s': %s\n", pkgpath, strerror(errno)); 322 if (chmod(pkgpath, S_IRUSR|S_IWUSR|S_IRGRP) < 0) { 323 LOGE("failed to chmod '%s': %s\n", pkgpath, strerror(errno));
|
Completed in 51 milliseconds