News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to stop Codeblocks overwriting executable flag on script files?

Started by Napoleon, June 16, 2015, 04:20:32 PM

Previous topic - Next topic

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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

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