Rev 7013 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7013 | Rev 13452 | ||
---|---|---|---|
Line 56... | Line 56... | ||
56 | 56 | ||
57 | 57 | ||
58 | **************************** nowrite nowrite2 ****************************" |
58 | **************************** nowrite nowrite2 ****************************" |
59 | cd $wimshome |
59 | cd $wimshome |
60 | 60 | ||
61 | test=`find $nowrite -perm |
61 | test=`find $nowrite -perm /22 \! -type l 2>/dev/null | head -20000` |
62 | # Attention, j'ai remplacé w_nowrite2 par nowrite2 |
62 | # Attention, j'ai remplacé w_nowrite2 par nowrite2 |
63 | test2=`find $nowrite2 -maxdepth 0 -perm |
63 | test2=`find $nowrite2 -maxdepth 0 -perm /22 \! -type l 2>/dev/null | head -20000` |
64 | if [ ! -z "$test$test2" ]; then |
64 | if [ ! -z "$test$test2" ]; then |
65 | chmod og-w $test $test2 |
65 | chmod og-w $test $test2 |
66 | echo "$test |
66 | echo "$test |
67 | $test2" | head -10 |
67 | $test2" | head -10 |
68 | echo "........... " |
68 | echo "........... " |
Line 76... | Line 76... | ||
76 | echo " |
76 | echo " |
77 | 77 | ||
78 | 78 | ||
79 | **************************** noexec noexec2 ****************************" |
79 | **************************** noexec noexec2 ****************************" |
80 | cd $wimshome |
80 | cd $wimshome |
81 | test=`find $noexec -perm |
81 | test=`find $noexec -perm /11 -type f 2>/dev/null | head -20000` |
82 | if [ ! -z "$test" ]; then |
82 | if [ ! -z "$test" ]; then |
83 | echo "noexec noexec2" |
83 | echo "noexec noexec2" |
84 | chmod og-x $test |
84 | chmod og-x $test |
85 | echo "$test" | head -10 |
85 | echo "$test" | head -10 |
86 | echo "........... " |
86 | echo "........... " |