Junio C Hamano <gitster@xxxxxxxxx> writes: >> + chmod -R u+w "$dir" 2>/dev/null > > If a test lost searchable bit from directories, "u+wx" may be > necessary to clean fully, no? Sorry, but I was stupid. If we were to worry about losing the searchable bit, then I should considered the possibility that we may also lose the readable bit, too.