#!/bin/sh set -e mkdir -p /data chmod 1777 /data 2>/dev/null || true chmod -R a+rwX /data 2>/dev/null || true umask 0000 exec /webdav