hbons / SparkleShare

Share and collaborate by syncing with any Git repository instantly. Linux, macOS, and Windows.
https://sparkleshare.org
Other
4.88k stars 579 forks source link

DAZZLE_USER is empty by default #1847

Closed EugeneTM closed 6 years ago

EugeneTM commented 6 years ago

What happened:

DAZZLE_USER is empty by default

Nice defaults

DAZZLE_USER="${DAZZLE_USER:-$MYUSER}" DAZZLE_GROUP="${DAZZLE_GROUP:-$DAZZLE_USER}"

The script locks out SSHD, bringing a wrong entry to /etc/ssh/sshd_config. It also creates /home/.ssh, because "DAZZLEUSER" = "".

What I expected to happen:

DAZZLE_USER=storage DAZZLE_USER="${DAZZLE_USER:-$MYUSER}" DAZZLE_GROUP="${DAZZLE_GROUP:-$DAZZLE_USER}"

This happens when:

  1. dazzle setup

hbons commented 6 years ago

Thanks for reporting. This behaviour was reverted in https://github.com/hbons/Dazzle/issues/42.