Results 1 to 2 of 2

Thread: "Error renaming temporary file" in gedit

  1. #1
    Join Date
    Jul 2012
    Beans
    2

    "Error renaming temporary file" in gedit

    I have a windows share folder that I mount with the following line in fstab:

    Code:
    //192.168.1.11/data-share /mnt/Server cifs auto,iocharset=utf8,uid=1000,gid=1000,credentials=/home/soheyl/.cifspwd 0 0
    When I create a file in this folder, and modify it in gedit, I cannot save it, getting the following error message:

    Code:
    Could not save the file /mnt/Server/myfolder/myfile
    Unexpected error: Error renaming temporary file: Invalid argument
    However, I can do the same task in command line using nano for example.

    Any idea what's going on?

  2. #2
    Join Date
    Jun 2008
    Location
    South Africa
    Beans
    39
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: "Error renaming temporary file" in gedit

    Just a shot in the dark but try going to GEdit then:

    Edit->Preferences->Editor

    Un-check the "Create a backup copy of files before saving" option. I don't think windows allows files with ~ in the names and if I remember correctly the backup file created by gedit contains a ~

    Let me know.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •