Changeset 8fe5a50 in sasview for sansview/setup_all.py


Ignore:
Timestamp:
Sep 19, 2011 9:41:58 AM (13 years ago)
Author:
Jae Cho <jhjcho@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
5f3164c
Parents:
a48ecbd
Message:

fixed change sansview folder mod to w+r

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansview/setup_all.py

    rfafdfd3 r8fe5a50  
    194194    os.chdir(wd)  
    195195    try: 
    196         os.system("chmod 777 -R %s"% setup_dir) 
     196        if sys.platform == 'darwin': 
     197            os.system("chmod -R g+w %s"% setup_dir)  
     198        else: 
     199            os.system("chmod 777 -R %s"% setup_dir) 
    197200    except: 
    198201        print "Could not give a permission to everyone for %s." % setup_dir 
Note: See TracChangeset for help on using the changeset viewer.