changing permissions on log files