make sure that the etags get propagated correctly

make sure that etags are propagated correctly during share and unshare operation.

fix for #9183