Ignore:
Timestamp:
Aug 23, 2012 11:07:11 AM (12 years ago)
Author:
Tom Carroll <thomas.carroll@…>
Branches:
master
Children:
6843d14
Parents:
794325b
Message:

Fixed permission problem when creating directory hierarchies.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • fedd/federation/emulab_segment.py

    • Property mode changed from 100644 to 100755
    r794325b rd4946da  
    4646
    4747        # Script the filesystem changes
     48       
     49        # Set umask to 007.  Since we are operating
     50        # within /proj, we want to permit all proj users
     51        # read and write.  This is especially necessary
     52        # since creating directory hierarchy (mkdir -p).
     53        print >>scriptfile, "umask 007"
    4854        print >>scriptfile, "/bin/rm -rf %s" % proj_dir
    4955        # Clear and create the software directory
Note: See TracChangeset for help on using the changeset viewer.