Uploading images results in file permission 600 #333
-
Doesn't show the images because it changes file permission to 600, I am using https://github.com/datenstrom/yellow-developers |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
Confirmed. What is your exact LAMPP setup? I just tested on two different systems - one running php in fpm mode, the other with just the builtin development webserver. As it seems file chmod 600 only has a negative effect on systems running php-fpm. I currently don't have access to a machine with php as apache module to test it. |
Beta Was this translation helpful? Give feedback.
-
I am using Debian with Plesk Nginx/Apache fpm and PHP both of them! |
Beta Was this translation helpful? Give feedback.
-
Did some research. I'm not fully into yellow's core functions, but if I'm right Yellow uses a toolbox function to process uploaded files, that first creates a temporary file and then uses php's |
Beta Was this translation helpful? Give feedback.
-
Issue Fixed ! and CLOSED ! - renamefile + copyfile |
Beta Was this translation helpful? Give feedback.
-
We should leave this issue opened to let main developers know that a permanent fix is needed. (CC @markseu) |
Beta Was this translation helpful? Give feedback.
-
@schulle4u Would be interested to investigate. Can you give me access to a server with php-fpm? |
Beta Was this translation helpful? Give feedback.
-
No problem, I'll pm you with further details.
|
Beta Was this translation helpful? Give feedback.
-
Thank you Steffen. Uploaded files and created files did not have the same permissions. This is why it didn't show the uploaded images on some web servers. I changed the editor so that all files get the same permissions, which is 644 per default. Should be working now. |
Beta Was this translation helpful? Give feedback.
-
Had this, too. Tested with success, the images show up as espected. → simply updated the edit plugin. |
Beta Was this translation helpful? Give feedback.
Thank you Steffen. Uploaded files and created files did not have the same permissions. This is why it didn't show the uploaded images on some web servers. I changed the editor so that all files get the same permissions, which is 644 per default.
Should be working now.