Fixes #7036 - allow log files creation for Rails app