Package: obs-build
Version: 20141024-1
User: [email protected]
Usertags: find-perm-plus
Hello,
the obs-build package uses find -perm +xxx. This GNU extension
syntax is deprecated and does not work in GNU findutils 4.5.11 and
later. Please change to find -perm /xxx instead.
The new syntax was introduced in 4.2.25 (October 2005) and should
therefore be available on any relevant system.
--------------
obs-build_20141024-1/build-vm
if test ! -w /root ; then
# remove setuid bit if files belong to user to make e.g. mount work
find $BUILD_ROOT/{bin,sbin,usr/bin,usr/sbin} -type f -uid $UID
-perm +4000 -print0 | xargs -0 --no-run-if-empty chmod -s
fi
copy_oldpackages
--------------
cu Andreas
--
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'