Home
last modified time | relevance | path

Searched refs:isChown (Results 1 – 6 of 6) sorted by relevance

/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/src/
H A Dbundle_daemon.cpp204 bool isChown; in CreateDataDirectoryInvoke() local
205 ReadBool(req, &isChown); in CreateDataDirectoryInvoke()
206 PRINTI("BundleDaemonClient", "uid is %{public}d, isChown is %{public}d", uid, isChown); in CreateDataDirectoryInvoke()
207 return BundleDaemon::GetInstance().handler_.CreateDataDirectory(dataPath, uid, gid, isChown); in CreateDataDirectoryInvoke()
H A Dbundle_daemon_handler.cpp131 …dleDaemonHandler::CreateDataDirectory(const char *dataPath, int32_t uid, int32_t gid, bool isChown) in CreateDataDirectory() argument
148 PRINTI("BundleDaemonClient", "uid is %{public}d, isChown is %{public}d", uid, isChown); in CreateDataDirectory()
149 if (isChown && !BundleFileUtils::ChownFile(dataDir.c_str(), uid, gid)) { in CreateDataDirectory()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/src/
H A Dbundle_daemon_client.cpp270 …ndleDaemonClient::CreateDataDirectory(const char *dataPath, int32_t uid, int32_t gid, bool isChown) in RegisterCallback() argument
285 WriteBool(&request, isChown); in RegisterCallback()
286 PRINTI("BundleDaemonClient", "uid is %{public}d, isChown is %{public}d", uid, isChown); in RegisterCallback()
H A Dbundle_installer.cpp370 bool isChown = ((record.uid != INVALID_UID) && (record.gid != INVALID_GID)); in HandleFileAndBackUpRecord() local
373 dataPath.c_str(), record.uid, record.gid, isChown) != EC_SUCCESS) { in HandleFileAndBackUpRecord()
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/bundle_daemon/include/
H A Dbundle_daemon_handler.h30 int32_t CreateDataDirectory(const char *dataPath, int32_t uid, int32_t gid, bool isChown);
/ohos5.0/foundation/bundlemanager/bundle_framework_lite/services/bundlemgr_lite/include/
H A Dbundle_daemon_client.h39 int32_t CreateDataDirectory(const char *dataPath, int32_t uid, int32_t gid, bool isChown);