Comment 4 for bug 144228

Revision history for this message
Kazuhiko (kazuhiko) wrote :

+1 for this change.

BTW, if 'chmod(path, 0600)' trick in buildout.rmtree ALREADY succeeded on the symlink to a directory, the destination directory had 0600 permission and its contents can never be deleted. i.e. deletion of the content raises an exception and buildout.rmtree is called, but chmod(path, 0600) still fails because its parent directory has no 'x' permission.

So I propose that chmod 2nd argument in biuldout.rmtree should be 0700, at least for directories.