mailr20214 - in /branches/relax_disp: ./ pipe_control/palmer.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by edward on June 19, 2013 - 14:51:
Author: bugman
Date: Wed Jun 19 14:51:17 2013
New Revision: 20214

URL: http://svn.gna.org/viewcvs/relax?rev=20214&view=rev
Log:
Merged revisions 20213 via svnmerge from 
svn+ssh://bugman@xxxxxxxxxxx/svn/relax/trunk

........
  r20213 | bugman | 2013-06-19 14:49:16 +0200 (Wed, 19 Jun 2013) | 8 lines
  
  Bug fix for the batch file permissions for executing Art Palmer's 
Modelfree4 program.
  
  This was identified in the post 
http://thread.gmane.org/gmane.science.nmr.relax.devel/3953/focus=4000.
  
  The file was set to be executable, but on Unix systems it would end up with 
the permissions
  "---x------".
........

Modified:
    branches/relax_disp/   (props changed)
    branches/relax_disp/pipe_control/palmer.py

Propchange: branches/relax_disp/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Wed Jun 19 14:51:17 2013
@@ -1,1 +1,1 @@
-/trunk:1-20211
+/trunk:1-20213

Modified: branches/relax_disp/pipe_control/palmer.py
URL: 
http://svn.gna.org/viewcvs/relax/branches/relax_disp/pipe_control/palmer.py?rev=20214&r1=20213&r2=20214&view=diff
==============================================================================
--- branches/relax_disp/pipe_control/palmer.py (original)
+++ branches/relax_disp/pipe_control/palmer.py Wed Jun 19 14:51:17 2013
@@ -30,7 +30,7 @@
 from math import pi
 from os import F_OK, access, chdir, chmod, getcwd, listdir, remove, sep, 
system
 from re import match, search
-from stat import S_IEXEC
+from stat import S_IRWXU|S_IRGRP|S_IROTH
 PIPE, Popen = None, None
 if dep_check.subprocess_module:
     from subprocess import PIPE, Popen
@@ -172,7 +172,7 @@
     run = open_write_file('run.sh', dir, force)
     create_run(run, binary=binary, dir=dir)
     run.close()
-    chmod(dir + sep+'run.sh', S_IEXEC)
+    chmod(dir + sep+'run.sh', S_IRWXU|S_IRGRP|S_IROTH)
 
 
 def create_mfdata(file, spin=None, spin_id=None, num_frq=None, frq=None):




Related Messages


Powered by MHonArc, Updated Wed Jun 19 15:40:02 2013