title: How do I preserve the setuid bit in tar archives with Perl's Archive::Tar?
body: <p>I'm using Perl's <a href="http://search.cpan.org/dist/Archive-Tar" rel="nofollow noreferrer">Archive::Tar</a> module. It preserves the file permissions but doesn't preserve the sticky bit. At the other end where I extract the archive, all the sticky bits are gone. I think UNIX/LINUX operating system stores these sticky bits somewhere else. How can I make my archive preserve sticky bits also?</p>
  
  <p>Using the -p switch to tar  preserves it but how do I do it using <a href="http://search.cpan.org/dist/Archive-Tar" rel="nofollow noreferrer">Archive::Tar</a>? I'm using Perl's module on both the sides.</p>