Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 1
    I have same issue in Magento ver. 1.7.0.2 image can uploaded successfully but not showing in backend due to of permission issue. If I change the permission 0640 to 0644 then image can visible, which is not the exact solution. So I guess magento people needs to rectify this or give any other solution for this. Commented Jan 28, 2016 at 6:28
  • I assume apache/nginx should be configured to be in the same group that php-fpm creates the image, does anybody know security implications of such? Commented Jan 28, 2016 at 17:09
  • It's suPHP that's causing me the problem I think! I've disabled it and enabled php-cgi instead which has increased page speed but I still have the permission issue. I'm not sure about the security implications so I'm leaving it be. I don't want to open any security holes! I'd rather edit the core file! Commented Jan 28, 2016 at 20:14
  • 3
    basically the issue is apache is not running as the same user as php. Changing the permission to 640 means the files are no longer world readable. You'll need to make sure that apache is running as the same user as php. This might be hard if your running cpanel a nice approach would be setting the group as nobody and making this sticky e.g: chown USERNAME:nobody -R public_html find ./public_html -type d -exec chmod g+s {} \; Commented Jan 29, 2016 at 2:42
  • Any solution to this? Commented Jan 30, 2016 at 6:15