Stop GEdit opening FTP files as read-only

I use Debian’s “Places -> connect to server…” dialog to setup connections to a couple FTP servers. Copying and such like work fine, but when I try to use GEdit, it always opens the file read-only. I can “Save As” to the exact file, so it wasn’t a permission problem. The trick is in some totally obscure config file. Here’s the (in GUI) steps to fix it:

  1. Run gconf-editor
  2. Open the tree to /apps/gedit-2/preferences/editor/save
  3. Edit writable_vfs_schemes
  4. Add ftp to the list

Voila. Gedit saving FTP. Via the kaylus on the Ubuntu Forums, but it is the same in Debian Etch.

5 Responses to “Stop GEdit opening FTP files as read-only”

  1. Valeriu Palos Says:

    Thanks, great tip!

  2. Chris Says:

    OK, this is a FANTASTIC tip. This has been bothering me for quite a while, and I feel very silly for not even attempting to fix it before now!

    THANK YOU!

    cej102937

  3. wetoo.it / alvise » Blog Archive » gedit - salvare usando ftp Says:

    [...] [questo post รจ in pratica una traduzione di quest'altro] [...]

  4. Paulius Says:

    Thank you :)

  5. cuco Says:

    Big issue: when you modify a file its permissions change to 666 (-rw-rw-rw-) Which in many servers leads to an intrernal server error for security reasons

Leave a Reply