Consider making tar preserve permissions, uid, and guid
Currently, tar is invoked as a regular user and without --preserve-permissions, and --same-owner. I wanted to cache some Docker volumes with action/cache and even after solving the permission issues with the Docker directories, I realized I needed --numeric-owner too as one of my Docker images were using uid:1000 without a corresponding user name on the host system. For these to work, tar also needs to be given s permission so it can set ownership information.
I created a custom action until (or if) this issue gets addressed but it is not ideal as it "wraps" the /usr/bin/tar binary to add these options.
I understand that these might be breaking changes so just adding an option for these would be great.
It also does not preserve the ACL permissions on Windows causing file system errors.
EPERM: operation not permitted