Fix Attach field's file url. Reset Permissions for User doctype