Displaying 1 result from an estimated 1 matches for "readable_real".
2006 Aug 03
0
changing umask on project/tmp files?
...337a4b4cd819c not readable^M
It seems to be linked to the initialize() function in 
/usr/lib/ruby/1.8/pstore.rb ~ line 94:
    if File::exist? file and not File::readable? file
      raise PStore::Error, format("file %s not readable", file)
    end
if I change File::readable? to File::readable_real?, it works.. but I''d 
rather not change this code.  It seems like the wrong way to handle it.
So.... I was wondering if there was something I could set in my rails 
environment such that the files in tmp/cache, tmp/sessions and 
tmp/sockets are permitted 0666?
liam