Fix Solaris bug where chmod fails if we don't have PRIV_SYS_LINKDIR

* gnulib.modules: Add priv-set.
* src/extract.c (set_mode, extract_archive): Restore
PRIV_SYS_LINKDIR on chmod failure.
* src/tar.c (main): Drop PRIV_SYS_LINKDIR on startup.
This commit is contained in:
David Bartley
2009-06-18 13:57:10 +03:00
committed by Sergey Poznyakoff
parent 0d6720288b
commit b216fed634
3 changed files with 22 additions and 2 deletions
+1
View File
@@ -31,6 +31,7 @@ localcharset
mkdtemp
modechange
obstack
priv-set
quote
quotearg
rpmatch