User forums > Using Code::Blocks

c::b changes file mode

<< < (2/2)

erezz:

--- Quote from: oBFusCATed on November 27, 2013, 08:50:14 pm ---Probably linux, but it doesn't matter much, it is obvious that is a some kind of unix.

I guess this happens, because C::B's save is not a typical save operation, but a save-to-temp-and-replace operation.
I guess the new file doesn't have the same permissions as the original.

--- End quote ---

I guess that c::b should get the permissions of the original file and when it does the mv operation, it should set the new file permissions to the original ones.

Erez

Navigation

[0] Message Index

[*] Previous page

Go to full version