mirror of
https://gitee.com/openharmony/print_print_fwk
synced 2024-11-23 08:59:47 +00:00
commit
9363c8c082
@ -14,12 +14,12 @@
|
||||
"mkdir /data/service/el1/public/print_service/cups/serverbin/filter 0750 print print",
|
||||
"mkdir /data/service/el1/public/print_service/cups/datadir 0750 print print",
|
||||
"mkdir /data/service/el1/public/print_service/cups/datadir/model 0750 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane 0755 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane/backend 0755 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane/config 0755 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane/data 0755 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane/lock 0755 print print",
|
||||
"mkdir /data/service/el1/public/print_service/sane/tmp 0700 root root"
|
||||
"mkdir /data/service/el2/public/print_service/sane 0755 print print",
|
||||
"mkdir /data/service/el2/public/print_service/sane/backend 0755 print print",
|
||||
"mkdir /data/service/el2/public/print_service/sane/config 0755 print print",
|
||||
"mkdir /data/service/el2/public/print_service/sane/data 0755 print print",
|
||||
"mkdir /data/service/el2/public/print_service/sane/lock 0755 print print",
|
||||
"mkdir /data/service/el2/public/print_service/sane/tmp 0700 root root"
|
||||
]
|
||||
}
|
||||
],
|
||||
|
@ -1598,7 +1598,7 @@ void ScanServiceAbility::GeneratePictureBatch(const std::string &scannerId, std:
|
||||
static_cast<unsigned long>(scanQueue.size()), static_cast<unsigned long>(scanTaskMap.size()));
|
||||
SCAN_HILOGI("nowScanId :[%{public}d], nextPicId: [%{public}d]", nowScanId, nextPicId);
|
||||
file_name = "scan_tmp"+ std::to_string(nowScanId) +".jpg";
|
||||
std::string outputDir = "/data/service/el1/public/print_service/sane/tmp/";
|
||||
std::string outputDir = "/data/service/el2/public/print_service/sane/tmp/";
|
||||
output_file = outputDir.append(file_name);
|
||||
ofp = fopen(output_file.c_str(), "w");
|
||||
if (ofp == nullptr) {
|
||||
@ -1633,7 +1633,7 @@ void ScanServiceAbility::GeneratePictureSingle(const std::string &scannerId, std
|
||||
static_cast<unsigned long>(scanQueue.size()), static_cast<unsigned long>(scanTaskMap.size()));
|
||||
SCAN_HILOGI("nowScanId :[%{public}d], nextPicId: [%{public}d]", nowScanId, nextPicId);
|
||||
file_name = "scan_tmp"+ std::to_string(nowScanId) +".jpg";
|
||||
std::string outputDir = "/data/service/el1/public/print_service/sane/tmp/";
|
||||
std::string outputDir = "/data/service/el2/public/print_service/sane/tmp/";
|
||||
output_file = outputDir.append(file_name);
|
||||
ofp = fopen(output_file.c_str(), "w");
|
||||
if (ofp == nullptr) {
|
||||
|
@ -23,7 +23,7 @@
|
||||
#include "scan_system_data.h"
|
||||
|
||||
namespace {
|
||||
const std::string SCANNER_LIST_FILE = "/data/service/el1/public/print_service/sane/tmp/scanner_list.json";
|
||||
const std::string SCANNER_LIST_FILE = "/data/service/el2/public/print_service/sane/tmp/scanner_list.json";
|
||||
const std::string SCANNER_LIST_VERSION = "v1";
|
||||
} // namespace
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user