Actually, permissions are saved with the 'mode'
Recursive directory traversal seems to work