[lxc-devel] [lxc/lxc] 51f0f7: do_lxcapi_create: set umask

GitHub noreply at github.com
Sat Apr 28 21:23:29 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 51f0f73b4f34bdccc9194c126f267b92a092d968
      https://github.com/lxc/lxc/commit/51f0f73b4f34bdccc9194c126f267b92a092d968
  Author: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>
  Date:   2018-04-15 (Sun, 15 Apr 2018)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  do_lxcapi_create: set umask

Always use 022 as the umask when creating the rootfs directory and
executing the template. A too loose umask may cause security issues.
A too strict umask may cause programs to fail inside the container.

Signed-off-by: Kaarle Ritvanen <kaarle.ritvanen at datakunkku.fi>


  Commit: ad38dca193671d4359ed54768426d256d8f72d16
      https://github.com/lxc/lxc/commit/ad38dca193671d4359ed54768426d256d8f72d16
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-04-28 (Sat, 28 Apr 2018)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Merge pull request #2279 from kunkku/create-umask

do_lxcapi_create: set umask


Compare: https://github.com/lxc/lxc/compare/61068d39af1c...ad38dca19367


More information about the lxc-devel mailing list