forked from schacon/perl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stat() fix for write but not read permission on a directory.
9b9f19d missed one corner case where we do actually need to stat the directory file and not just the name without the .DIR. If we have write but not read access to the directory, then stat('foo.DIR') succeeds but stat('foo') fails. So if the first stat failed fileify and try again.
- Loading branch information
1 parent
61f966e
commit cc5de3b
Showing
1 changed file
with
25 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters