Welcome to Working With Rails

 

Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
page caching and world writtable directories
3 Posts
page caching and world writtable directories

Deb,

Was this advise useful to you?

Please respond.

-Pedro

Hi Deb,

I have been checking Rails code, and, as of 2.3.4, there is no change in file permissions on file cache, so it depends on the UMASK settings you have on your system. In case you don't know, umask is the default permission mask. If you're using Ubuntu (or Debian, I guess), read this about setting UMASK: http://ubuntuforums.org/showthread.php?t=738099

-Pedro

I turned on page caching in production and as the pages get cached the new directories being created to hold them are world writable. Is that necessary?

3 Posts
Login to add your message