OSSP CVS Repository

ossp - Difference in ossp-pkg/shtool/sh.fixperm versions 1.14 and 1.15
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shtool/sh.fixperm 1.14 -> 1.15

--- sh.fixperm   2001/12/31 15:06:04     1.14
+++ sh.fixperm   2002/12/16 13:50:20     1.15
@@ -44,31 +44,31 @@
         if [ -f $file ]; then
             if [ $minusx $file ]; then
                 if [ ".$opt_v" = .yes ]; then
-                    echo "-rwxrwxr-x $file" 2>&1
+                    echo "-rwxr-xr-x $file" 2>&1
                 fi
                 if [ ".$opt_t" = .yes ]; then
-                    echo "chmod 775 $file" 2>&1
+                    echo "chmod 755 $file" 2>&1
                 fi
-                chmod 775 $file
+                chmod 755 $file
             else
                 if [ ".$opt_v" = .yes ]; then
-                    echo "-rw-rw-r-- $file" 2>&1
+                    echo "-rw-r--r-- $file" 2>&1
                 fi
                 if [ ".$opt_t" = .yes ]; then
-                    echo "chmod 664 $file" 2>&1
+                    echo "chmod 644 $file" 2>&1
                 fi
-                chmod 664 $file
+                chmod 644 $file
             fi
             continue
         fi
         if [ -d $file ]; then
             if [ ".$opt_v" = .yes ]; then
-                echo "drwxrwxr-x $file" 2>&1
+                echo "drwxr-xr-x $file" 2>&1
             fi
             if [ ".$opt_t" = .yes ]; then
-                echo "chmod 775 $file" 2>&1
+                echo "chmod 755 $file" 2>&1
             fi
-            chmod 775 $file
+            chmod 755 $file
             continue
         fi
         if [ ".$opt_v" = .yes ]; then

CVSTrac 2.0.1