[Buildroot] [PATCH 1/1] Fix umask settings for non-bash shells for root user

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sat Aug 29 09:36:07 UTC 2015


Dear Yann E. MORIN,

On Sat, 29 Aug 2015 11:33:17 +0200, Yann E. MORIN wrote:

> > > And maybe provide a simple .profile *iff* needed.
> > 
> > Can you check if a .profile is really needed? If so, can you submit a
> > patch series cleaning up .bash_* ?
> 
> After the release, maybe?

Absolutely, this is post 2015.08 stuff.

> > Why? Git doesn't track empty directories, so we have those .empty files
> > all over the place. I don't see what would recreate the root/ directory
> > for the root user if we don't keep it in the skeleton. Am I missing
> > something?
> 
> Right. I was thinking of keeping a .profile in that directory. If there
> is a .profile, there is no need for .empty . If there is no .profile
> (and no other file), we need to keep .empty , yes.

Ah, ok, I see. We're on the same line then. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list