Reputation: 522
I am trying to upgrade the tar
version on my system.
Below is the current version.
# tar --version
tar (GNU tar) 1.17
If we execute tar --help
Handling of file attributes:
--acls Save the ACLs to the archive
--atime-preserve don't change access times on dumped files
We can see --acls
option available.
I downloaded 1.25 tar version, compiled and now I see --acl
option is not available in the latest tar version.
Am I missing something ? or That option is replaced with some other option ?
Upvotes: 1
Views: 665
Reputation: 19158
The solution to your problem is that you are using --
with your acl(option). Don't do that, you have to use a single dash(-
).
So, the option would be tar -acl archive.tar
!
This will help you for sure.
Upvotes: 1