Репозитории ALT
S: | 1.2-alt2 |
5.1: | 1.2-alt2 |
4.1: | 1.2-alt1.M41.1 |
4.0: | 1.2-alt1.M40.1 |
3.0: | 1.1-alt1 |
Группа :: Система/Серверы
Пакет: samba-client-control
Главная Изменения Спек Патчи Исходники Загрузить Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
BINARY=/sbin/mount.cifs
[ -f "$BINARY" -a ! -L "$BINARY" ] ||
BINARY=/usr/bin/cifsmount
new_fmode public 4711 root root
new_fmode wheelonly 4710 root wheel
new_fmode restricted 700 root root
new_help public "Any user can execute $BINARY"
new_help wheelonly "Only \"wheel\" group members can execute $BINARY"
new_help restricted "Only root can execute $BINARY"
new_summary 'CIFS filesystem mount helper'
control_fmode "$BINARY" "$*" || exit 1