sandeep nagendra
sandeep nagendra

Reputation: 522

Tar --acl option is missing from 1.25 version

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

Answers (1)

Am_I_Helpful
Am_I_Helpful

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

Related Questions