[MPICH2-dev] SOLVED:mpich2 security issues
michael bane
michael.bane at manchester.ac.uk
Fri Jul 1 07:30:10 CDT 2005
Folks - relating to the below, I've just noticed mpich2_1.0.2 has sorted this. Many thanks!
Michael
---
Rusty & co
I've been caught out by the 'umask' issue yet again - as in world
writeable files are created (see example test program attached). This
example shows that even if my umask=0022 even when started mpdboot then
world writeable files still exist:
[mbane at ironlung test-open]$ mpdallexit
[mbane at ironlung test-open]$ umask
0022
[mbane at ironlung test-open]$ mpdboot
[mbane at ironlung test-open]$ mpicc my-mpi-open.c
[mbane at ironlung test-open]$ rm test
[mbane at ironlung test-open]$ mpiexec -n 1 ./a.out
linitialized PE 0 out of 1
got umask...... and reset
PE 0 had umask '0'
PE 0 has opened test
[mbane at ironlung test-open]$ ls -l test
-rw-rw-rw- 1 mbane users 0 Jul 1 12:24 test
[mbane at ironlung test-open]$
Is there any work around since I cannot have mpich2 on my cluster
otherwise for security reasons.
Thanks,
--
Michael Bane
Atmospheric Physics Group
University of Manchester
-------------- next part --------------
A non-text attachment was scrubbed...
Name: my-mpi-open.c
Type: text/x-csrc
Size: 1098 bytes
Desc: not available
URL: <https://lists.mcs.anl.gov/mailman/private/mpich2-dev/attachments/20050701/7e90a5a4/attachment.c>
More information about the mpich2-dev
mailing list