diff --git a/obs-service-tar_scm.changes b/obs-service-tar_scm.changes index 550b340..1bb3216 100644 --- a/obs-service-tar_scm.changes +++ b/obs-service-tar_scm.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 27 11:16:47 UTC 2012 - aspiers@suse.com + +- Prevent local users from appearing as user/group owner in + generated tar files (thanks bmwiedemann for this) + ------------------------------------------------------------------- Tue Jul 3 11:23:12 UTC 2012 - adrian@suse.de diff --git a/tar_scm b/tar_scm index 2121199..b4714e9 100644 --- a/tar_scm +++ b/tar_scm @@ -457,8 +457,8 @@ prep_tree_for_tar () { create_tar () { TARFILE="${TAR_BASENAME}.tar" TARPATH="$MYOUTDIR/$TARFILE" - debug tar cf "$TARPATH" $EXCLUDES $MYINCLUDES - safe_run tar cf "$TARPATH" $EXCLUDES $MYINCLUDES + debug tar --owner=root --group=root -cf "$TARPATH" $EXCLUDES $MYINCLUDES + safe_run tar --owner=root --group=root -cf "$TARPATH" $EXCLUDES $MYINCLUDES echo "Created $TARFILE" }