merging tridge's code...
drwxr-xr-x - ctdb