From aabc24378e080cdfcc0ae84dc62026bb45bfd4ac Mon Sep 17 00:00:00 2001 From: Macintoshplus <814683+macintoshplus@users.noreply.github.com> Date: Tue, 19 Sep 2017 11:46:58 +0200 Subject: [PATCH] change wd --- bin/fixright | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/fixright b/bin/fixright index 15316b8..864e320 100755 --- a/bin/fixright +++ b/bin/fixright @@ -1,10 +1,10 @@ #!/bin/bash -if [ -d "/src" ] +if [ -d "/sources" ] then -USERID=$(stat -c "%u" /src) -GROUPID=$(stat -c "%g" /src) +USERID=$(stat -c "%u" /sources) +GROUPID=$(stat -c "%g" /sources) groupmod -g $GROUPID phpuser usermod -u $USERID -g $GROUPID phpuser