ChrisPhillips
Programmer
Is there a way to keep the permissions of the files contained in a tar file, rather than retaining the current file permissions?
For example:
1. I have a tar file that contains a file with execute permissions
2. I then change the permissions of the file on disk to remove the execute permissions
3. If I then extract the file from the tar file it does not have execute permissions
For example:
1. I have a tar file that contains a file with execute permissions
2. I then change the permissions of the file on disk to remove the execute permissions
3. If I then extract the file from the tar file it does not have execute permissions