diff --git a/src/common.h b/src/common.h index a311dc7..64644f0 100644 --- a/src/common.h +++ b/src/common.h @@ -30,7 +30,7 @@ using namespace std; -#define APP_VER "3.3.t7" +#define APP_VER "3.3.t8" #define APP_NAME "Motion Watch" #define APP_BIN "mow" #define DATETIME_FMT "yyyyMMddhhmmss" diff --git a/src/services.cpp b/src/services.cpp index fbe57ef..d1251b7 100644 --- a/src/services.cpp +++ b/src/services.cpp @@ -49,8 +49,6 @@ int loadService(const QString &desc, const QString &user, const QString &servNam file.write("WantedBy=multi-user.target\n"); file.close(); - if (ret == 0) ret = QProcess::execute("chown", {"-R", user + ":" + user, workDir}); - if (ret == 0) ret = QProcess::execute("chown", {"-R", user + ":" + user, recPath}); if (ret == 0) ret = QProcess::execute("systemctl", {"daemon-reload"}); if (start)