commit | 0dce7573d8038618505b718308c359c4ed6fabcf | [log] [tgz] |
---|---|---|
author | Mike Frysinger <[email protected]> | Fri Jan 13 19:02:51 2017 -0500 |
committer | Treehugger Robot <[email protected]> | Sun Jan 15 16:20:28 2017 +0000 |
tree | c52d9a301b64ea1acb8830c9238eee8b34279b67 | |
parent | eea841ba782ce4c00f54a7331a50e87dfc188782 [diff] |
fix mode settings on /tmp mount Change the mode from 0777 to 1777 so it has the sticky dir bit set. This is what all temp dirs should have so the kernel enforces sane behavior across diff uids. Bug: None Test: `minijail0 -vt -- /bin/sh -c 'mount; ls -ld /tmp'` shows /tmp using 1777 Change-Id: I96d77a9bda76323993fed8d127f5df865f6477a2