diff options
author | Jay Satiro <raysatiro@yahoo.com> | 2020-01-07 19:44:51 -0500 |
---|---|---|
committer | Jay Satiro <raysatiro@yahoo.com> | 2020-01-09 14:24:53 -0500 |
commit | 4027bd72d9f0add0135e08cc7e1860cc1385f21f (patch) | |
tree | e9f9e442912d7d3e5f6918d3dc4503a66a885fb7 /tests/data/test1344 | |
parent | 446665606c3db116c02a68dac0b5a0626c517bf7 (diff) |
tool_dirhie: Allow directory traversal during creation
- When creating a directory hierarchy do not error when mkdir fails due
to error EACCESS (13) "access denied".
Some file systems allow for directory traversal; in this case that it
should be possible to create child directories when permission to the
parent directory is restricted.
This is a regression caused by me in f16bed0 (precedes curl-7_61_1).
Basically I had assumed that if a directory already existed it would
fail only with error EEXIST, and not error EACCES. The latter may
happen if the directory exists but has certain restricted permissions.
Reported-by: mbeifuss@users.noreply.github.com
Fixes https://github.com/curl/curl/issues/4796
Closes https://github.com/curl/curl/pull/4797
Diffstat (limited to 'tests/data/test1344')
0 files changed, 0 insertions, 0 deletions