changed the mode of the created dir to 0555 to avoid unauthorized
authorroot@sonne.dd.dtele.de
Wed, 08 Jul 2009 13:17:03 +0200
changeset 34 d569d7a1adff
parent 32 c6b6c0366342
child 35 705425612757
changed the mode of the created dir to 0555 to avoid unauthorized changes in this directory
tele-watch.pl
--- a/tele-watch.pl	Fri Mar 13 16:22:06 2009 +0100
+++ b/tele-watch.pl	Wed Jul 08 13:17:03 2009 +0200
@@ -193,6 +193,7 @@
                     unlink $link;
                     symlink $dir => $link;
                 }
+		chmod(0555 => $fullname);
                 next EVENT;
             }