-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Filesystem] fileperms(): stat failed #23312
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
Comments
Can you please give #23340 a try? |
I copied your code and paste it into Symfony 3.3.2. |
there is no issue: that line is at DEBUG level, reporting a SilencedErrorContext - which means everything is fine, that's just a log line! |
@nicolas-grekas But annoys when loading DataFixtures |
OK, see #23398 |
fabpot
added a commit
that referenced
this issue
Jul 5, 2017
…s-grekas) This PR was merged into the 2.7 branch. Discussion ---------- [Filesystem] Dont copy perms when origin is remote | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #23312 | License | MIT | Doc PR | - Commits ------- 7b44221 [Filesystem] Dont copy perms when origin is remote
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My code:
I got a warning message:
09:40:03 DEBUG [php] Warning: fileperms(): stat failed for http://lorempixel.com/900/900/
[
"exception" => Symfony\Component\Debug\Exception\SilencedErrorContext {
-severity: E_WARNING,
trace: {
/home/project/vendor/symfony/symfony/src/Symfony/Component/Filesystem/Filesystem.php:72: {
: // Like
cp
, preserve executable permission bits,: @chmod($targetFile, fileperms($targetFile) | (fileperms($originFile) & 0111));,
:
}
}
}
]
The text was updated successfully, but these errors were encountered: