# Page caching and world writable directories

**URL:** <https://www.ruby-forum.com/t/page-caching-and-world-writable-directories/178059>\
**Category:** Rails\
**Created:** [October 28, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/page-caching-and-world-writable-directories/178059 "2009-10-28T16:56:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clarices](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/51bf81/32.png) [@clarices](https://www.ruby-forum.com/u/clarices)\
**Post date:** [October 28, 2009, 4:56pm UTC](https://www.ruby-forum.com/t/page-caching-and-world-writable-directories/178059/1 "2009-10-28T16:56:21Z")

</div>

I turned on page caching for the index and show actions in a controller  
named “posts” in a blogging application.

The caching path is set to tmp/cache

As the pages get cached, the “/posts” directory created to hold the  
cached pages is world writable. Why is it being created with this  
permissions? Can I change this? Is this the normal behavior for caching?
