Group :: System/Servers
RPM: samba-client-control
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
#!/bin/sh
. /etc/control.d/functions
BINARY=/sbin/umount.cifs
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 umount helper'
control_fmode "$BINARY" "$*" || exit 1