Enhanced debug documentation
Reinstate gid, uid & extra permission bits as necessary and possible