symfony - Future images in my upload directory don't have the correct permission -
i'm using symfony2 framework in application , works fine. i'm having problem on deployment though:
i have upload directory in testing area. directory web/uploads/images. folder has following permission: 700. however, each time upload new image in there, permission on image 600. means image won't show on application. of course, when set permission manually on newly uploaded image, shows correctly.
i try using umask didn't work. guess maybe need on symfony2 when upload image.
thanks answer
you need use umask user you're running symofony application as.
look here: http://www.cyberciti.biz/tips/understanding-linux-unix-umask-value-usage.html
Comments
Post a Comment