# # # patch "debian/monotone-server.postinst" # from [5de45041c31f76408b2a661336beb84d49d7213b] # to [27196270b6eeb93fef35a593a62aa50f82af7a74] # ============================================================ --- debian/monotone-server.postinst 5de45041c31f76408b2a661336beb84d49d7213b +++ debian/monotone-server.postinst 27196270b6eeb93fef35a593a62aa50f82af7a74 @@ -38,10 +38,14 @@ if [ -z "$2" ]; then # create monotone user and fix permissions of files if [ -z "`id -u monotone 2>/dev/null`" ]; then - /usr/sbin/adduser --system --group --home $MTN_HOME --no-create-home --disabled-password --quiet monotone --gecos "Monotone" - chown monotone:monotone $MTN_HOME + /usr/sbin/adduser --system --group --home $MTN_HOME \ + --no-create-home --disabled-password --quiet \ + --gecos "Monotone" monotone + + chown monotone:monotone $MTN_HOME chown monotone:monotone $MTN_CONFDIR chown monotone:monotone $MTN_KEYDIR + chmod 0750 $MTN_HOME chmod 0750 $MTN_CONFDIR chmod 0750 $MTN_KEYDIR