[PATCH] adduser: Make home directory not world readable

tito farmatito at tiscali.it
Tue Jan 17 15:30:13 UTC 2023


On Tue, 17 Jan 2023 16:19:38 +0100
Valentin <vakevk at gmail.com> wrote:

>  > this is the default in debian
> 
> Thank you for explaining the historical context. Is this *just* the 
> historical context or do you mean that busybox *should* follow debian? 
> If it is the latter, would busybox change the default if debian did so 
> first?
> 
>  > This could be made a config option
> 
> Do you mean a config option in a config file or a command line argument? 
> adduser currently does not parse any config file and I do not want to 
> make that part of this change. Adding a command line argument for the 
> mode is a smaller change but even that I would rather not make part of 
> this change.

Hi,
thought about a config option in the busybox build system
with 755 as default value that could be modified at build time.
It will still be a hardcoded value.
Don't know if the maintainer likes this solution,
let's see if there is some reaction.

Ciao,
Tito

> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://lists.busybox.net/mailman/listinfo/busybox



More information about the busybox mailing list