summaryrefslogtreecommitdiff
path: root/pod/perlfunc.pod
diff options
context:
space:
mode:
authorTony Cook <tony@develop-help.com>2022-06-22 10:17:57 +1000
committerJames E Keenan <jkeenan@cpan.org>2022-06-27 08:43:00 -0400
commitc25af7d9772eae07700757f7061ca84e56c5c058 (patch)
tree635569ec7cdb5b5cc4ee92089453e9fee70e7684 /pod/perlfunc.pod
parente7267d71c4a94e4cd0826cb547a7ff13df23a22f (diff)
downloadperl-c25af7d9772eae07700757f7061ca84e56c5c058.tar.gz
point out that non-permission bits for mkdir's mode are non-portable
In particular the sticky bit may or may not be set by the system mkdir() implementation. Fixes #12082
Diffstat (limited to 'pod/perlfunc.pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 2 insertions, 0 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 2c27a747f9..3c19950bb5 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -4326,6 +4326,8 @@ a restrictive MODE and give the user no way to be more permissive.
The exceptions to this rule are when the file or directory should be
kept private (mail files, for instance). The documentation for
L<C<umask>|/umask EXPR> discusses the choice of MODE in more detail.
+If bits in MODE other than the permission bits are set, the result may
+be implementation defined, per POSIX 1003.1-2008.
Note that according to the POSIX 1003.1-1996 the FILENAME may have any
number of trailing slashes. Some operating and filesystems do not get