Pointy hat: sticky bit 't' or 'T' is shown over IXOTH bit, not IXGRP. <sigh>
This commit is contained in:
parent
848f68aacc
commit
4cb95ee702
@ -7,7 +7,7 @@ DPADD= ${LIBARCHIVE} ${LIBBZ2} ${LIBZ}
|
||||
LDADD= -larchive -lbz2 -lz
|
||||
|
||||
.if defined(WITH_BSDTAR)
|
||||
LINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
|
||||
SYMLINKS= ${BINDIR}/bsdtar ${BINDIR}/tar
|
||||
MLINKS= bsdtar.1 tar.1
|
||||
.endif
|
||||
|
||||
|
@ -228,7 +228,7 @@ bsdtar_strmode(struct archive_entry *entry, char *bp)
|
||||
else bp[6] = 'S';
|
||||
}
|
||||
if (mode & S_ISVTX) {
|
||||
if (mode & S_IXGRP) bp[9] = 't';
|
||||
if (mode & S_IXOTH) bp[9] = 't';
|
||||
else bp[9] = 'T';
|
||||
}
|
||||
if (archive_entry_acl_count(entry, ARCHIVE_ENTRY_ACL_TYPE_ACCESS))
|
||||
|
Loading…
x
Reference in New Issue
Block a user