summaryrefslogtreecommitdiff
path: root/pod/perl5141delta.pod
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2012-06-18 13:09:02 +0200
committerNicholas Clark <nick@ccl4.org>2012-06-21 09:00:36 +0200
commit4c77591b9d78214701bc6ba2df3a2fbd9914c389 (patch)
treeab83725cb3a285ce80df74129bef729add230af4 /pod/perl5141delta.pod
parentff4803d9cfd18b5f2c1c00c307ca73700c048174 (diff)
downloadperl-4c77591b9d78214701bc6ba2df3a2fbd9914c389.tar.gz
Fix File::stat's -x and -X for root for directories and executable files.
Previously File::stat's overloaded -x and -X operators did not give the correct results for directories or executable files when running as root. They had been treating executable permissions for root just like for any other user, performing group membership tests etc. for files not owned by root. They now follow the correct Unix behaviour - for a directory they are always true, and for a file if any of the three execute permission bits are set then they report that root can execute the file. Perl's builtin -x and -X operators, added in Perl 2, have always been correct.
Diffstat (limited to 'pod/perl5141delta.pod')
0 files changed, 0 insertions, 0 deletions