User forums > Using Code::Blocks

Error Saving Files

<< < (2/3) > >>

Jenna:
Is the original-file unchanged, or is it cleared ?

If it is unchanged, you most likely do not have write-access to the file (not the file-system).

I'm not sure if writing to ntfs-partitions from linux works reliable in the meantime.

I still use FAT32-partitions for shared filesystems.

The filemanager-code (where the tempfile is created and the original file should be overwritten) is not changed since revision 5104, so the error is most likely a problem with access-rights.

lehe:
Thanks!
What does it mean "Is the original-file unchanged, or is it cleared ?"
If I try to modify the content of my code file, the file appears to be changed, but attempts to save fails leaving a "*" on the tab of the file in CB editor. At the meantime, the .cbTemp file for my code file is created under the same directory to store the version before my modification. After I force to quit CB without saving, the .cbTemp file remains where it was.

The problem didn't happen with other editors, like gedit.

Jenna:

--- Quote from: lehe on February 03, 2009, 05:58:41 pm ---Thanks!
What does it mean "Is the original-file unchanged, or is it cleared ?"

--- End quote ---

I wanted to know, whether you have an empty file or just an unchenged one, if you open it with another editor.

But what's about the file permissions and odes it happen on any other partition, or only on the ntfs-partition ?

lehe:
If opened with gedit, it is unchanged just as it was, not empty.

On my Windows FAT32 disk, which is also my Windows system disk, when I create a new project, I got this error "Couldn't save project /windows-c/opencv/helloworld_linux/helloworld_linux.cbp (Maybe the file is write-protected?)". Subsequently saving changes to the code files fails. The same thing happens to my Windows NTFS disk.

jabahpureza:
I've got the exactly same problem here.

When I open a saved project from a NFTS partition I can't save any change! For every file I change and try to save I get this "Error Saving Files" window.
When I copy the same project to a GNU/Linux partition I can save it normally.

But when I run code:blocks as root "gksudo codeblocks" this problem disappears.

Is it a code::blocks bug or what?

thank you very much!
jjR

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version