Fixed a bug when a non-root user copies a GID=0 file with -g set