# File security

**URL:** <https://www.ruby-forum.com/t/file-security/178810>\
**Category:** Rails\
**Created:** [November 11, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/file-security/178810 "2009-11-11T16:36:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![penguinjr](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/b2d939/32.png) [@penguinjr](https://www.ruby-forum.com/u/penguinjr)\
**Post date:** [November 11, 2009, 4:36pm UTC](https://www.ruby-forum.com/t/file-security/178810/1 "2009-11-11T16:36:04Z")

</div>

Hi! again

I have another question:

I’m using Apach2 (preforks) + mod\_rails for deploy my RoR app.

Ok, i changed the ownership of al files/dir of the RoR proyect to  
www-data/www-data, and set 755 attr. (rwx,rx,rx)

Is it correct?

The RoR app works fine.
