[wp-trac] [WordPress Trac] #48960: failed to open dir: No such file or directory in WIndows
WordPress Trac
noreply at wordpress.org
Fri Dec 13 18:20:12 UTC 2019
#48960: failed to open dir: No such file or directory in WIndows
--------------------------+------------------------------
Reporter: eden159 | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.3.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by azaozz):
Sounds like this is caused by `wp_unique_filename()` checking for existing
files in the wrong directory:
https://core.trac.wordpress.org/browser/tags/5.3.1/src/wp-
includes/functions.php#L2473. The warnings can be silenced, but that will
"hide" the underlying problem making it harder to find and debug
(basically that function doesn't do anything when the directory is not
readable).
@eden159 could you give some more details please: when does this happen
(during upload, etc.), and if it makes the performed action fail (i.e. an
upload would fail).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48960#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list