still didn't get the permissions right, chmod must follow sa-learn's initial creation of files

see #231, #201, b26abc947e8d39d457f6ce098544aa1692de9a56, 7ca54a2bfb12179ffbd8d0c00f44efee7d0e5a4e, dfe0a9f1872dc048ad64301be4c8795bc713dd92