Anthony, 

I just ran that test and it does go away - that is, I had a executable that I 
had done a chmod on to correct the problem then I did cx_freeze again the the 
date on the executable was updated (I.e. rebuilt) but the execute permission 
rights remained in effect.  

I also tried another variation - I changed the permission bits to non-execute 
(666) and then did another cx_freeze.  The executable was rebuilt but the 
permission bit remained unchanged (I.e. still 666). 

So what I conclude from this is that cx_freeze only sets the permission bits 
for a file once if it does NOT exist.  I would personally hope that when I 
performed a cx_freeze the freeze would NOT build on pre-existing state but 
rather do a true freeze the same way every time - if I want to change something 
after the freeze then that is my choice. 

Ben  


From: Anthony Tuininga 
Sent: Wednesday, January 08, 2014 9:33 PM
To: primary discussion list for use and development of cx_Freeze 
Subject: Re: [cx-freeze-users] cx_freeze build fails on MAC 10.9 Python2.7.6 
32-bit


And if you chmod the base executables so they are executable, does the problem 
go away when you build again? It could be that the original build of the base 
executables didn't set the executable bit for some reason.... 


Anthony



On Wed, Jan 8, 2014 at 6:39 PM, Thomas Kluyver <tak...@gmail.com> wrote:

  On 8 January 2014 17:20, Ben Robinson <ben-robin...@nc.rr.com> wrote:

    tried n experiment thinking that possibly it was the subdirectory I was
    building out - that is in the directory where I was
    (../Downloads/cx_Freeze-4.3.2/cx_Freeze/samples/wx) I had to perform a "sudo
    python setup.py bdist_dmg" to actually build.  I moved the wxaap.py and
    setup.py to a directory I have read/write/execute permission and rebuilt -
    the result was identical.


  If you find where cx_Freeze was installed, do the executables in bases/ have 
execute permissions? If you just do build_exe rather than bdist_*, does the 
executable in the build directory have execute permissions.


  It should be easy enough for cx_Freeze to set execute permissions when it 
copies the base executable.


  Thomas


  ------------------------------------------------------------------------------
  CenturyLink Cloud: The Leader in Enterprise Cloud Services.
  Learn Why More Businesses Are Choosing CenturyLink Cloud For
  Critical Workloads, Development Environments & Everything In Between.
  Get a Quote or Start a Free Trial Today.
  http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
  _______________________________________________
  cx-freeze-users mailing list
  cx-freeze-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/cx-freeze-users






--------------------------------------------------------------------------------


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk 


--------------------------------------------------------------------------------


_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
cx-freeze-users mailing list
cx-freeze-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cx-freeze-users

Reply via email to