early: set /tmp permissions explicitly
authorHans Dedecker <dedeckeh@gmail.com>
Fri, 23 Nov 2018 11:02:45 +0000 (12:02 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 23 Nov 2018 12:31:08 +0000 (13:31 +0100)
commitd6673547adc3768ce674799fa35952351866c9d0
treec1dab48be034682447c900093d8fdd1275ff5b11
parent20192e47619861285fe66f1c72c8f1c2583fc0e6
early: set /tmp permissions explicitly

In case ramfs is used as tmpfs it creates /tmp with permissions 755
which are the the default permissions.
Therefore when mounting tmp set permissions explicitly to 1777

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Acked-by: John Crispin <john@phrozen.org>
initd/early.c