Added more permissions support for archives and links.