Added user group permission for error log

re-submit #1078