chmod --reference is not available on OS X Instead, we copy the source file into the temporary path, so that mode bits are preserved
chmod --reference is not available on OS X Instead, we copy the source file into the temporary path, so that mode bits are preserved