SPECS: motion.spec - added user motion to video group - rel. 3

Elan Ruusamäe glen at delfi.ee
Fri Mar 2 11:44:15 CET 2007


On Friday 02 March 2007 12:10, tiwek wrote:
> Author: tiwek                        Date: Fri Mar  2 10:10:14 2007 GMT
> Module: SPECS                         Tag: HEAD
> ---- Log message:
> - added user motion to video group
> - rel. 3
>
> ---- Files affected:
> SPECS:
>    motion.spec (1.44 -> 1.45)

>  %pre init
>  %groupadd -g 177 motion
>  %useradd -u 177 -g motion motion
> +/usr/sbin/usermod -G video motion 1>&2 > /dev/null

this OVERWRITES any existing groups mapping

use %addusertogroup macro instead

and you forgot update Requires: /usr/sbin/usermod

-- 
glen


More information about the pld-devel-en mailing list