Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37496149
en ru br
ALT Linux repos
S:1.4-alt1
D:1.1-alt1
5.0: 1.4-alt1
4.1: 1.4-alt0.M41.1
4.0: 1.4-alt0.M41.1
+backports:1.3-alt0.M40.1

Group :: System/Servers
RPM: webserver-common

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

#! /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

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin