Lines Matching +full:kernel +full:- +full:rev
4 # author: chris friedhoff - chris@friedhoff.org
9 # 1 - initial release pcaps4convenience
10 # 2 - changed 'attr -S -r' to 'setcap -r' and removed attr code
18 # --> SET=ie
31 # adjust - if needed and wanted - /etc/security/capability.conf
80 if [ "$( id -u )" != "0" ]; then
91 # well symlinks to apps, so we use -a ...
92 APP=`which -a $1 2>/dev/null`
97 if [ -f "$i" -a ! -L $i -a "$FOUND"=="no" ]; then
118 APP=`which -a $1 2>/dev/null`
122 if [ -f "$i" -a ! -L $i -a "$FOUND"=="no" ]; then
124 setcap -r $i 2>/dev/null
141 let UPPER=${#APPSARRAY[*]}-1
152 let UPPER=${#APPSARRAY[*]}-1
173 echo "(well, still per sudo or su -c - but thats not the point here)"
177 echo "Your Filesystem has to support extended attributes and your kernel must have"
180 echo "Usage: pcaps4convenience [con(vert)|rev(ert)|help]"
182 echo " con|convert - from setuid0 to POSIX Capabilities"
183 echo " rev|revert - from POSIX Capabilities back to setui0"
184 echo " help - this help message"
196 rev|revert)