-removed the chown commands from install services function. It
 will now be up to the user to manage folder permissions.
This commit is contained in:
zii 2023-12-18 21:07:00 -05:00
parent da941d8d18
commit bb8a1fad45
2 changed files with 1 additions and 3 deletions

View File

@ -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"

View File

@ -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)