Giving permissions to log folder