Index | Thread | Search

From:
Evan Silberman <evan@jklol.net>
Subject:
pax.1: be less technical about directory permissions
To:
tech@openbsd.org
Date:
Fri, 29 Nov 2024 11:49:07 -0800

Download raw body.

Thread
  • Evan Silberman:

    pax.1: be less technical about directory permissions

I don't think the pax.1 manual needs to refer to directory permissions
using the implementation details of mode_t.


diff /usr/src
commit - 47aad511869fbab8df27a9d9220f3dfaa012d2e7
path + /usr/src
blob - 777780b04dde2c2b520cf0243f092ca09c0e27b1
file + bin/pax/pax.1
--- bin/pax/pax.1
+++ bin/pax/pax.1
@@ -553,13 +553,8 @@ and extract the specified
 .Ar file
 operands.
 If any intermediate directories are needed in order to extract an archive
-member, these directories will be created as if
-.Xr mkdir 2
-was called with the bitwise OR of
-.Dv S_IRWXU , S_IRWXG ,
-and
-.Dv S_IRWXO
-as the mode argument.
+member, these directories will be created with read, write, and search
+permissions for the owner, group, and others.
 When the selected archive format supports the specification of linked
 files and these files cannot be linked while the archive is being extracted,
 .Nm