Aligning file/dir permissions and tar extraction logic to match original intent

as shown in the default Apache-based recipe