This project is archived and is in readonly mode.
Cache fragment file creation error : "Couldn't create cache directory: ** (Permission denied - .permissions_check.-**)"
-
brunetton
Sorry for formatting problems in description
Again :
Description (assuming there is no cache files at all)
- ActiveSupport::Cache::write() calls File::atomic_write() (defined in activesupport/lib/active_support/core_ext/file/atomic.rb) with a temp_dir argument
- atomic_write()
- successfully creates the temp cache file (temp_file) in temp_dir with the fragment
- tries to get original file stats (because it's the first write) and executes the rescue block. This is normal
-
Pratik
- Assigned user set to josh
-
Repository
- State changed from new to resolved
(from [3d15e1a7b5c996baf11728ed32945b0d27418b1a]) Make atomic_write() puts the check_file in the cache dir, not in application root [#1962 Cache fragment file creation error : "Couldn't create cache directory: ** (Pe... state:resolved] Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
-
Repository
(from [3668a641702b6d0e5df963f54de8d17c53d6179c]) Make atomic_write() puts the check_file in the cache dir, not in application root [#1962 Cache fragment file creation error : "Couldn't create cache directory: ** (Pe... state:resolved] Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...
