I have a Ruby on Rails website. It was working without problems for a few months, then suddenly in the last few weeks it has started displaying the following error:
Errno::EACCES in WelcomeController#index
Permission denied - /home/userName/appName/app/views/layouts/application.html.erb
This is fixed by running the command 'touch tmp/restart.txt', but the problem re-appears after a few hours.
I can't see anything in the log to indicate what is causing the problem, but I am not a Ruby on Rails developer so I'm not sure what to look for.
There is some suspicion that the site is being deliberately sabotaged although personally I find it unlikely.
If someone could help me to work out what the problem is I would really appreciate it.