Accepting request 129093 from home:aspiers:branches:openSUSE:Tools
- Prevent local users from appearing as user/group owner in generated tar files (thanks bmwiedemann for this) OBS-URL: https://build.opensuse.org/request/show/129093 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Tools/obs-service-tar_scm?expand=0&rev=48
This commit is contained in:
parent
66094849a2
commit
86c7651c97
@ -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
|
||||
|
||||
|
4
tar_scm
4
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"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user