use updated user and group attributes when creating plugin directories

old attrs = nil, causes service startup to fail because agent cannot write to directories