User forums > Using Code::Blocks

How to stop Codeblocks overwriting executable flag on script files?

(1/1)

Napoleon:
[Ubuntu 14.04.02, CB Package with extras]

I'm using some scripts to manage various things in my project, and need to make periodic updates (like adding new files to lists).
Each time I save the script, I have to go into the terminal and do chmod +x on the file.

Is there a setting, or way, to prevent CB from resetting the executable flag?

Cheers,
Nap

stahta01:
I think I heard this issue before; what CB version are you using?

Me, I would try a post build step and see if that can fix it.

Tim S.

Napoleon:
thanks stahta01,
The script in question is not involved in any build processes.  It's a simple script that I maintain to ensure files are in the right places, and I run it manually from the terminal when I need to.
 
My CB version is 13.12 from Ubuntu's Repo.  I've also installed the extra plugins package.  According to my "About" screen, I have Build: Jan 27 2014, 12:35:52 - wx2.8.12 (Linux, unicode) - 64 bit.  And on the Information tab, it says:  Version: Release 13.12 rev 9501  SDK Version: 1.19.0

Cheers,
Nap

Navigation

[0] Message Index

Go to full version