#! /bin/sh . /etc/control.d/functions UPLOADSDIR="@webserver_uploadsdir@" new_fmode public 2777 root @webserver_group@ new_fmode webserveronly 2775 root @webserver_group@ new_fmode webmasteronly 2775 root @webserver_webmaster@ new_fmode restricted 2755 root root new_summary "$UPLOADSDIR" new_help public "Any user can execute $UPLOADSDIR" new_help webserveronly "Only \"@webserveronly@\" group members can execute $UPLOADSDIR" new_help webmasteronly "Only \"@webmasteronly@\" group members can execute $UPLOADSDIR" new_help restricted "Only root can execute $UPLOADSDIR" control_fmode "$UPLOADSDIR" "$*" || exit 1