16 # first check for stupid permissions second for full, so we clean up
18 for my $perm (0111,0777) {
20 chmod $perm, "foo", "foo/bar";
22 print "not " unless -d "foo" && -d "foo/bar";
23 print "ok ", ++$count, "\n";
26 print "not " if -e "foo";
27 print "ok ", ++$count, "\n";