Because I was reminded of this bug, I decided to check again. I can confirm that on my completely up to date install of Ubuntu 8.04, this bug is still in effect. I tested multiple text editors this time. Some of them caused the bug to appear, and some did not.
Editing with vim, emacs, or anjuta(scintilla) all resulted in the undesired change of permissions.
Editing with gedit or nano did not change the permissions.
Editing with anjuta(gtksourceview) failed to even open my test file over gvfs.
I ran these tests over two different gvfs/sftp connections. One connection was to a FreeBSD 6.3 box, and the other was to an Ubuntu 8.04 server. I imagine that looking at the source code of the save functions in these different text editors will bring the cause of this problem to light.
Because I was reminded of this bug, I decided to check again. I can confirm that on my completely up to date install of Ubuntu 8.04, this bug is still in effect. I tested multiple text editors this time. Some of them caused the bug to appear, and some did not.
Editing with vim, emacs, or anjuta(scintilla) all resulted in the undesired change of permissions.
Editing with gedit or nano did not change the permissions.
Editing with anjuta( gtksourceview) failed to even open my test file over gvfs.
I ran these tests over two different gvfs/sftp connections. One connection was to a FreeBSD 6.3 box, and the other was to an Ubuntu 8.04 server. I imagine that looking at the source code of the save functions in these different text editors will bring the cause of this problem to light.