Opened 18 years ago
Closed 18 years ago
#161 closed defect (fixed)
Group directory and file permissions not working correctly when using "mpirun"
Reported by: | nick | Owned by: | nick |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Management and planning | Version: | |
Severity: | minor | Keywords: | |
Cc: |
Description
When running anuga models using 'mpirun' command the permissions of the directory and files created does NOT reflect the permissions set by umask in my .bashrc.
Note: See
TracTickets for help on using
tickets.
Solution:
for anuga runs that use a "project.py" file, add the following to it
from os import umask umask(002)