mirror of
https://gitee.com/openharmony/filemanagement_storage_service
synced 2024-11-27 01:01:16 +00:00
commit
3d41a1543b
@ -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) {
|
||||
|
@ -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/"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user