File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -321,8 +321,8 @@ permissions_corrections() {
321
321
if ! [[ -d " $backupsFolder " ]]; then
322
322
mkdir -p " $backupsFolder "
323
323
fi
324
- if ! cond_redirect chown openhab: openhab " $backupsFolder " ; then echo " FAILED (chown backups folder)" ; retval=1; fi
325
- if ! cond_redirect chmod g+s " $backupsFolder " ; then echo " FAILED (setgid backups folder)" ; retval=1; fi
324
+ if ! cond_redirect chown " ${username :- openhabian} : openhab" " $backupsFolder " ; then echo " FAILED (chown backups folder)" ; retval=1; fi
325
+ if ! cond_redirect chmod g+ws " $backupsFolder " ; then echo " FAILED (setgid backups folder)" ; retval=1; fi
326
326
327
327
if ! cond_redirect fix_permissions " /home/${username:- openhabian} " " ${username:- openhabian} :${username:- openhabian} " ; then echo " FAILED (${username:- openhabian} chown $HOME )" ; retval=1; fi
328
328
if ! cond_redirect setfacl --recursive --remove-all " ${openhabFolders[@]} " ; then echo " FAILED (reset file access lists)" ; retval=1; fi
You can’t perform that action at this time.
0 commit comments