!1455 mtp修改目录创建位置

Merge pull request !1455 from ZhongLufu/master
This commit is contained in:
openharmony_ci 2024-10-31 06:08:01 +00:00 committed by Gitee
commit 3d41a1543b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 3 additions and 3 deletions

View File

@ -111,7 +111,7 @@ std::string SmtpfsRealPath(const std::string &path)
std::string SmtpfsGetTmpDir()
{
const char *cTmp = "/data/service/mtp_tmp";
const char *cTmp = "/data/local/mtp_tmp";
OHOS::StorageDaemon::DelTemp(cTmp);
std::string tmpDir;
if (cTmp) {

View File

@ -12,8 +12,8 @@
{
"name" : "post-fs-data",
"cmds" : [
"mkdir /data/service/mtp_tmp 777 system system",
"export TMP /data/service/mtp_tmp/"
"mkdir /data/local/mtp_tmp 777 system system",
"export TMP /data/local/mtp_tmp/"
]
}
],