apply chown while creating nested paths