I replaced tar with disk image file, now file permissions will be intact and it will be much safer than tar.