~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to trampoline/trampoline.c

  • Committer: drtomc
  • Date: 2008-02-12 21:09:20 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:439
makeuser: Fix the default jail home directory permissions so that the
files therein can be served correctl.

trampoline: 022 is a better umask than 0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
89
89
    /* At this point we are executing as the child process */
90
90
 
91
91
    /* Change the file mode mask */
92
 
    umask(0);
 
92
    umask(022);
93
93
 
94
94
    /* Create a new SID for the child process */
95
95
    sid = setsid();