Fixed file permission problems.