diff --git a/startJD2.sh b/startJD2.sh index 4bf2192..17bdfdd 100755 --- a/startJD2.sh +++ b/startJD2.sh @@ -19,5 +19,5 @@ fi useradd -G $GROUP $USER chown -R $USER:$GROUP /opt/JDownloader -exec su-exec "$@" +exec su-exec ${USER}:${GROUP} "$@"