We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
dumpFile() will always create a file with 0666 permissions if the file system supports these file permissions.
dumpFile()
0666
Analog to the behavior of file_put_contents and other file handling functions, one would expect that the umask setting will be taken into account.
file_put_contents
The text was updated successfully, but these errors were encountered:
I've run into the same problem.
dumpFile uses the tempnam method to generate a temporary filename, which always creates files using mode 0600. See: http://php.net/manual/en/function.tempnam.php
dumpFile
tempnam
0600
In symfony/filesystem <3.0, this was not a problem, since a $mode parameter was present with the default value of 0666.
$mode
Sorry, something went wrong.
Oh, wait a minute... I see that my problem has already been fixed in master (not in 3.0.1). Thanks for that! 👍
@DemonTPx Indeed, this was fixed in #17063 which will be included in 3.0.2.
No branches or pull requests
dumpFile()
will always create a file with0666
permissions if the file system supports these file permissions.Analog to the behavior of
file_put_contents
and other file handling functions, one would expect that the umask setting will be taken into account.The text was updated successfully, but these errors were encountered: