[OpenWrt-Devel] [PATCH 3/3] [rpcd] file: add support for setting mode when writing files
luka at openwrt.org
Mon Mar 16 13:42:55 EDT 2015
On Sun, Mar 15, 2015 at 10:27:49PM +0100, John Crispin wrote:
> > + umask(0);
> setting umask to 0 and then not resetting it to the old value afterwards
> seems wrong.
> ->> main.c: umask(0077);
Good catch. Will send v2.
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
More information about the openwrt-devel