fix permissions of created recordings (issue #6067)