You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The files generated are 0750 atm while they should be 0640. They're then deployed via copy or move operation and then have 0755 in the target folder of the application. The codecache folder has the permissions wanted when the FILE_MODE constant is changed to 0640, but the deployed files are not adhering to that. Reason is the Symfony Filesystem component as that introduced in v2.7.x a change to only "keep executable permission when a file is copied" (as in Unix' ls). Further on: setting the file mode when dumping a file has been deprecated in 2.x and has been removed in 3.x.
Suggestions:
set default FILE_MODE to 0640
don't set permissions on dumpFile anymore
chmod afterwards on generated/deployed files
The text was updated successfully, but these errors were encountered:
The files generated are
0750
atm while they should be0640
. They're then deployed via copy or move operation and then have0755
in the target folder of the application. Thecodecache
folder has the permissions wanted when theFILE_MODE
constant is changed to0640
, but the deployed files are not adhering to that. Reason is the Symfony Filesystem component as that introduced in v2.7.x a change to only "keep executable permission when a file is copied" (as in Unix'ls
). Further on: setting the file mode when dumping a file has been deprecated in 2.x and has been removed in 3.x.Suggestions:
FILE_MODE
to0640
dumpFile
anymorechmod
afterwards on generated/deployed filesThe text was updated successfully, but these errors were encountered: