-
-
Notifications
You must be signed in to change notification settings - Fork 294
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
[v2.5.1] Warning: chmod(): Operation not permitted #381
Comments
@aistis- is the file that was created not owned by your process? Or is it already existing? What does a manual |
|
@aistis- can you just inline the output here, please? Can't access those drive files. |
@Ocramius I have updated the urls |
Does nginx have access to that dir? Seems to be owned by |
It is clear that the problem is related to php5-fpm permissions. It was working under |
This issue is similiar to symfony/symfony#2125 We are working on a vagrant system and the project is mounted using samba, since chmod is not supported on ntfs/samba the Exception is thrown. |
@redshark1802 Small advice, you should move the cache folder out the vagrant folder if possible. It gives a nice speed boost and fixes this issue until we get a real fix in. |
There is a discussion whether or not silencing this is a good thing. Affects other Doctrine components as well. |
Our workaround was to set |
This commit leads us to have a following error:
Warning: chmod(): Operation not permitted
Work around is remove the line or suppress the errors
chmod($tmpFileName, 0664);
We are using code inside vagrant machine, but it does not work even on
777
permissions.@beberlei could you advice something, mate? :)
The text was updated successfully, but these errors were encountered: