Fixing issue 1832 about ACLs

Plus some other issues. It's probably easier to look at the diff commit by commit, since a lot of documentation was changed.