various fixes and additions on desktop
[distro-setup] / conflink
index 7954a223e06e3020939278ecb92786cb820b1538..1fb519d94cd5b7d04f02f83ea9d4ce876c59ec6e 100755 (executable)
--- a/conflink
+++ b/conflink
@@ -80,6 +80,9 @@ case $USER in
             # named[20823]: /etc/bind/db.iank.pw.jnl: create: permission denied
             s chgrp bind /etc/bind/bind-writable
         fi
+        if [[ -e /etc/davpass ]] && getent group www-data &>/dev/null; then
+            s chgrp www-data /etc/davpass
+        fi
         sudo -u traci "$BASH_SOURCE"
         ;;
     traci)