-
Notifications
You must be signed in to change notification settings - Fork 71
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
consider changing chmod to @chmod #50
Comments
This also happen on my machine with: vagrant box with NFS on OSX. |
Bump. Not sure why this just started happening. |
@schmittjoh in case you're agree with this change. i have created PR for it: #53 |
Any luck here? This is the original discussion on the symfony repo: symfony/symfony#8205 - they did switch to |
Can you please provide a new tag containing this fix? |
was solved in e50cc46 |
I have just run into trouble when using SF2 + JMS Serializer Bundle on vagrant box (windows using SMB).
The thing is that os can't use chmod on shared filesystems and attempt made here:
https://github.com/schmittjoh/metadata/blob/master/src/Metadata/Cache/FileCache.php#L45
breaks the request.
I noticed that in many places Symfony suppresses the error using @chmod so despite general rule that using @ to hide errors is bad I'd consider using it in this case.
I made a workaround to place my cache dir outside the shared folder structure for now but this fix might be handy.
The text was updated successfully, but these errors were encountered: