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
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
I want to do that for security reasons cause I save the images in the public folder
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