--- lib/File/Path.pm 2003-08-14 02:00:52.000000000 -0400 +++ lib/File/Path.pm.chmod 2005-01-26 06:20:44.228146880 -0500 @@ -196,7 +196,7 @@ sub rmtree { # it's also intended to change it to writable in case we have # to recurse in which case we are better than rm -rf for # subtrees with strange permissions - chmod(0777, ($Is_VMS ? VMS::Filespec::fileify($root) : $root)) + chmod(0700, ($Is_VMS ? VMS::Filespec::fileify($root) : $root)) or carp "Can't make directory $root read+writeable: $!" unless $safe; @@ -230,7 +230,7 @@ sub rmtree { print "skipped $root\n" if $verbose; next; } - chmod 0777, $root + chmod 0700, $root or carp "Can't make directory $root writeable: $!" if $force_writeable; print "rmdir $root\n" if $verbose; @@ -252,7 +252,7 @@ sub rmtree { print "skipped $root\n" if $verbose; next; } - chmod 0666, $root + chmod 0600, $root or carp "Can't make file $root writeable: $!" if $force_writeable; print "unlink $root\n" if $verbose;