By default when I upload new images, the folder created have 777 permissions
Is开发者_如何学运维 there a way to restrict permissions on the new folders?Thanks
Other way you can do this by changing in the paperclip plugin itself.
Change the permission as you want in the below file of paperclip plugin /lib/paperclip/storage.rb
精彩评论