Please sign in to comment.
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...