1231 Fix rails log permission