Let mkdir set the correct owner.
Rename input to path.