SOURCES (AC-branch): rpm.macros, rpm.macros - %useradd: force home...

Elan Ruusamäe glen at delfi.ee
Tue Oct 11 16:53:19 CEST 2005


On Tuesday 11 October 2005 17:48, Jakub Bogusz wrote:
> On Tue, Oct 11, 2005 at 11:21:39AM +0200, glen wrote:
> > Author: glen                         Date: Tue Oct 11 09:21:38 2005 GMT
> > Module: SOURCES                       Tag: AC-branch
> > ---- Log message:
> > - %useradd: force homedir creation with empty skel dir
> >
> > @@ -642,6 +644,8 @@
> >  else \
> >  	echo "Adding user %{expand:%{%{#}}} UID=%{-u*}." \
> >  	/usr/sbin/useradd \\\
> > +		-m \\\
>
> Why?
> Home directories for users created by %useradd are always (AFAICS)
> part of some package, so there is no need to add -m?
in mldonkey it was not.

and it should not create anything harmful, as rpmdb will set the own 
permissions from filelist if present.

-- 
glen



More information about the pld-devel-en mailing list