[BACK]Return to netstart CVS log [TXT][DIR] Up to [local] / src / etc

Diff for /src/etc/netstart between version 1.122 and 1.123

version 1.122, 2008/07/23 16:05:47 version 1.123, 2008/08/14 00:59:50
Line 40 
Line 40 
                 echo "netstart: $file: No such file or directory"                  echo "netstart: $file: No such file or directory"
                 return                  return
         fi          fi
         if [ "$(stat -Lf "%SLp %u %g" $file)" != "--- 0 0" ]; then          # Not using stat(1), we can't rely on having /usr yet
           set -A stat -- `ls -nL $file`
           if [ "${stat[0]#???????} ${stat[2]} ${stat[3]}" != "--- 0 0" ]; then
                 echo "WARNING: $file is insecure, fixing permissions"                  echo "WARNING: $file is insecure, fixing permissions"
                 chmod -LR o-rwx $file                  chmod -LR o-rwx $file
                 chown -LR root.wheel $file                  chown -LR root.wheel $file

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123