# Can only get RMagick to work writing with 777

**URL:** <https://www.ruby-forum.com/t/can-only-get-rmagick-to-work-writing-with-777/182247>\
**Category:** Rails\
**Created:** [January 25, 2010, 5:17pm UTC](https://www.ruby-forum.com/t/can-only-get-rmagick-to-work-writing-with-777/182247 "2010-01-25T17:17:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dino\_d](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/b5ac83/32.png) [@dino\_d](https://www.ruby-forum.com/u/dino_d)\
**Post date:** [January 25, 2010, 5:17pm UTC](https://www.ruby-forum.com/t/can-only-get-rmagick-to-work-writing-with-777/182247/1 "2010-01-25T17:17:48Z")

</div>

Hi -

I am at a loss with chmod. The only way I can get RMagick to work  
properly writing to a file is if I set the dir to 777 permissions, but  
I feel like this is a huge security risk. Can someone give me a push  
in the right direction with chown/chmod, etc. for RMagick?

All I want is for everyone to be able to upload images, and then my  
app processes and saves those images in a directory.

Thanks for any help,  
Dino
