tar: fix typo in comment
This commit is contained in:
parent
ebad0294c9
commit
73d702ee07
@ -818,7 +818,7 @@ int tar_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
| ARCHIVE_PRESERVE_DATE
|
| ARCHIVE_PRESERVE_DATE
|
||||||
| ARCHIVE_EXTRACT_UNCONDITIONAL;
|
| ARCHIVE_EXTRACT_UNCONDITIONAL;
|
||||||
|
|
||||||
/* Apparently only root's tar preserves parms (see bug 3844) */
|
/* Apparently only root's tar preserves perms (see bug 3844) */
|
||||||
if (getuid() != 0)
|
if (getuid() != 0)
|
||||||
tar_handle->ah_flags |= ARCHIVE_NOPRESERVE_PERM;
|
tar_handle->ah_flags |= ARCHIVE_NOPRESERVE_PERM;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user