[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2020-11-15 Thread Dark Dragon
This bug also affects me. For another bug, I created instructions on how
to reproduce my samba setup via docker:
https://gitlab.gnome.org/GNOME/gedit/-/issues/322#steps-to-reproduce

This might help reproducing this bug.

** Bug watch added: gitlab.gnome.org/GNOME/gedit/-/issues #322
   https://gitlab.gnome.org/GNOME/gedit/-/issues/322

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2020-04-28 Thread Nicolas Göddel
This bug also affects Ubuntu 19.10 with

$ gedit -V
gedit - Version 3.34.0

$ sshfs -V
SSHFS version 2.10.0
FUSE library version: 2.9.9
fusermount version: 2.9.9
using FUSE kernel interface version 7.19

$ uname -r
5.3.0-46-generic

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 19.10
Release:19.10
Codename:   eoan

I can not confirm what @elatllat was saying 2 years ago.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2019-10-01 Thread Laurent Dinclaux
On Ubuntu 19.10 it fails saying "Cannot handle “file:” locations in
write mode. Please check that you typed the location correctly and try
again."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2018-05-24 Thread elatllat
Yes this seems to be resolved now.

> gedit -V
gedit - Version 3.28.1

> sshfs -V
SSHFS version 2.8
FUSE library version: 2.9.7
fusermount version: 2.9.7
using FUSE kernel interface version 7.19

> uname -r
4.15.0-20-generic

> cat /etc/issue
Ubuntu 18.04 LTS \n \l

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2018-05-24 Thread Bug Watch Updater
** Changed in: gedit
   Status: Confirmed => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2016-01-15 Thread JP Vossen
My use case is a Mint 17.x VM using a VirtualBox vboxsf to a Win8.1
host.  I had this same problem in Geany and it was driving me insane
until I found
http://wiki.geany.org/config/all_you_never_wanted_to_know_about_file_saving
and then "Edit > Prefs > Various > use_atomic_file_saving: checked"
fixed it for me.  Be sure to read the URL as there are implications.
Obviously this does not fix Gedit but it may be an acceptable work-
around for some people.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2014-06-19 Thread TimSC
This might be similar to the Virtualbox/gedit fails to save bug
(https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/341725) which I
suspect is caused by glib and the way it saves to a temporary file, then
renames without closing the file. The bug has been recorded as:
https://bugzilla.gnome.org/show_bug.cgi?id=656225

** Bug watch added: GNOME Bug Tracker #656225
   https://bugzilla.gnome.org/show_bug.cgi?id=656225

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2014-04-17 Thread Daniel
The problem still exists in Ubuntu 13.10 (Linux 3.11.0-20-generic
x86_64) with gedit 3.8.3-0ubuntu3

My fstab:
//ourserver.local/myshare   /mnt/mymount   cifs
uid=1001,file_mode=0600,dir_mode=0700,credentials=/myhome/.smbcredentials,iocharset=utf8,sec=ntlm,nounix
   0 0

I found an interesting link which assumes that the reason is a time-
synchronization problem:
https://forums.gentoo.org/viewtopic-t-495454-start-0.html#3567475. This
makes sense since our NAS is a Netgear ReadyNAS with a time drift of
~20s per day and NTP doesn't seem to work on it. Latter means that I
cannot do any serious tests on it.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2013-03-26 Thread Traducao Freire
** Bug watch added: CentOS Mantis #6339
   http://bugs.centos.org/view.php?id=6339

** Also affects: gedit (CentOS) via
   http://bugs.centos.org/view.php?id=6339
   Importance: Unknown
   Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2013-03-26 Thread Bug Watch Updater
** Changed in: gedit (CentOS)
   Status: Unknown = New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2013-03-26 Thread Traducao Freire
I have the same problem in Oracle Linux 5 and 6; CentOS 5 and 6 and in
RedHat 5

Here is how to reporoduce the error

/etc/fstab
//192.168.1.100/Oracle /mnt/Oracle cifs username=orcl,password=orcl 0 0
/dev/sda1 /mnt/sda1 ntfs defaults 0 0

When you save a file to /mnt/Oracle or  /mnt/sda1, gedit immediately
wants you to reload it. If you reload, you lost your ability of undo any
changes prior to the save, if you don't do what gedit wants, you may end
up with an empty file Save Anyway

But if you save the file to any Linux partition such /u01/app/oracle...
gedit works fine

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2012-09-13 Thread Peter Würtz
Still happening on 12.10.
Users can loose whole text files when trying to save changes with gedit!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-12-02 Thread Peter Würtz
Ok this is getting nasty. The latest experience with this bug (Ubuntu
11.10) when trying to edit/save a textfile is a dialog popping up,
telling me that gedit is unable to save the file. If you decide to close
the editor for some reason now, the file is completely gone. You didn't
just loose your changes, you lost the complete text file. There might be
an invisible ~backup file around, but from a users point of view, the
file is gone.

Can we please make that bug critical?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-11-05 Thread fabioxxxx
switched to kate ...

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-10-18 Thread Crates
My fstab already has this set as smbfs (not cifs), I already have the
backup option unchecked, and this is still a problem for me (and has
been on every Ubuntu installation I've ever had for the past five
years). It ONLY happens with gedit, and ONLY when saving to a Samba
filesystem.

The NAS (network attached storage device) that I use is a Data Robotics
DroboFS Pro. I use it to store files collaboratively across five or six
computers. On all other programs in Linux, as well as every program I
use on Mac OSX and any version of Windows, my files are stored and
retrieved just fscking fine. No problems.

So, when I hear people complaining about how this is a bug with Samba,
CIFS, NFS, Windows architecture, NetBIOS protocols, the Linux kernel,
underpants gnomes, whatever... I have to laugh, because this is clearly
a gedit bug. One that has been active for OVER FIVE YEARS.

I'm going to implement my own solution going forward: I'll simply use a
text editor that isn't total bullshit. But at any rate, maybe you guys
might consider fixing the problem rather than trying to defer blame onto
everyone else.

Here are some details. Hope they help.

Gedit version: 2.30.3

Ubuntu version: 10.04

Kernel version: 2.6.32-34-generic

Architecture: amd64

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-10-18 Thread Dmole
well said Crates, 
I also opted to use a different editor (vim) as a solution a long long time ago.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-10-13 Thread yaztromo
This bug also effects the geany editor when saving over cifs.

1. Open a file and modify it
2. Save it
3. Modify it some more
4. Save
5. BAM! File has been modified dialog. Usually the time difference between 
local and remote is 1 second.

My cifs server is Ubuntu 10.04 and my client machine is 10.10. Anyone
know of a workaround? Is this a server problem or a client problem?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-10-13 Thread yaztromo
update: Solved my own problem.

Simply changing the fstab entry from type cifs to smbfs fixed the
problem for me.

Not ideal but it works.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2011-09-14 Thread fabioxxxx
2006-2011 ... oh crap

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/34813

Title:
  gedit fails to save files over smbfs/cifs

To manage notifications about this bug go to:
https://bugs.launchpad.net/gedit/+bug/34813/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-11-07 Thread Brad Richards
Please note that this bug affects more than just gedit - similar bugs
have been reported against other applications, including eclipse: see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=137011

Because of this, I think the priority should be increased!

** Bug watch added: Eclipse bugs #137011
   https://bugs.eclipse.org/bugs/show_bug.cgi?id=137011

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-10-05 Thread Vide
I'm using Ubunto 10.10 and the bug, with gedit and a fstab mounted CIFS share, 
is still there.
Steps to reproduce (the usuals):
- create a new file with gedit in the remote share
- type something
- Ctrl+S to save
- type something
- Ctrl+S to save: bug happens!

And to all the people/developers saying we should use gvfs+cifs... well,
I'll do it  when I'll get the same performances as with kernel mode CIFS
(50MB/s (fifty) against 6MB/s (six))

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-09-16 Thread Bug Watch Updater
** Changed in: gedit
   Importance: Unknown = Medium

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-08-22 Thread papukaija
** Tags added: metabug

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-08-18 Thread Id2ndR
It appears that this bug is fix for cifs mount in 2.30 (according to 
https://bugzilla.gnome.org/show_bug.cgi?id=336738#c35).
I still encountered this bug using sshfs with 2.30 (Ubuntu 10.04).

So I'm not sure that the sshfs and cifs/smbfs trouble is the same one
and maybe there should be 2 separate bugs.

I also would like to know if the patch applied in Robie Basak's package can 
still be use for gedit 2.30 ?
The patch isn't attached to this bug, so where can I grab it ?

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-08-18 Thread Robie Basak
@Id2ndR

From a quick look, I think this is the patch I used. I've not checked
it.

** Patch added: 0001-smbfs-sshfs-save-problem.patch
   
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/+attachment/1497537/+files/0001-smbfs-sshfs-save-problem.patch

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-08-18 Thread Brian Murray
** Tags added: patch

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-05-01 Thread Teoh Han Hui
This happens with vboxsf mounts as well. Affects Nautilus too as
mentioned in bug 323091.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-03-01 Thread Gustaf
There seems to be a regression issue here. I have never had issues with
gedit and sshfs, until I recently upgraded from 9.10 to Lucid Alpha 3.
Now my gedit will not save any file over sshfs, although any other
editor does just fine.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-02-01 Thread Ronoaldo Pereira
Robie,

I can confirm that this package also fixed the problem for me on 9.10.

Thanks for the fix!!!

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2010-01-26 Thread Vito Botta
Robie,

would love to have you here so that I could give you a big hug :D
After spending some time on this, I found your comments here and can confirm 
that your package fixes the issue for me on 9.10.

I am using the same user folders (Documents, Pictures, Music, etc)
between Ubuntu and Windows (through Virtualbox's shared folders) and
that was a pain.

Thanks!

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-18 Thread Robie Basak
@acabre and @tim pezarro:

Both of your strace files suggest the the problem is the same as the one
that I fixed in a patch for the Intrepid package in 2008. Please try
these packages for 9.10:

i386: 
https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_i386.deb
amd64: 
https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_amd64.deb

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-18 Thread tim pezarro
Robie,
Thanks for taking the time to review my log files. I believe i am guilty of not 
reading the details and understang that you have already created a patch for 
this problem.

I shall give your patch a try.

Cheers,
Tim Pezarro
Manager, Web Services
tim_peza...@pmc-sierra.com
Phone: +1-604-415-6044
Cell: +1-604-762-1000
Fax: +1-604-415-6602
PMC-Sierra, Inc.
8555 Baxter @lace
Burnaby, BC, Canada
V5A 4V7

- Original Message -
From: boun...@canonical.com boun...@canonical.com
To: Tim Pezarro
Sent: Wed Nov 18 14:48:24 2009
Subject: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

@acabre and @tim pezarro:

Both of your strace files suggest the the problem is the same as the one
that I fixed in a patch for the Intrepid package in 2008. Please try
these packages for 9.10:

i386: 
https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_i386.deb
amd64: 
https://launchpad.net/~racb/+archive/fixes/+files/gedit_2.28.0-0ubuntu2~basak1_amd64.deb

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a direct subscriber
of the bug.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-16 Thread tim pezarro
Hello,

I have also added a strace file for the error I experience.

This is the error message for the file samba_error.txt

Could not save the file /media/webteam
pezarro/tmp/samba_error.txt.
Unexpected error: Text file busy

The attached zip file gedit-error.zip has strace log called
filterthisaway.log  and mount listing called mounts.txt

I hope this helps correct the gedit bug.

Cheers,

** Attachment added: gedit-error.zip
   http://launchpadlibrarian.net/35766591/gedit-error.zip

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-13 Thread acabre
@robie:

Sorry for complicating things. I've run a new test on an installation of
9.10 following your directions. After creating the tar, I realized that
I should have called my user something other than tmp. Let me know if
this causes problems and I can re-run the tests, since the box is
already set up.

And thanks for looking at this!!!


** Attachment added: filterthisaway.tar.gz
   http://launchpadlibrarian.net/35670692/filterthisaway.tar.gz

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-11 Thread Robie Basak
@acabre:

Thanks for the strace file.

This is exactly what is needed but unfortunately there's a small issue.
Because gedit seems to be aware of the file the strace output was being
redirected to, my instructions included filtering out all mentions of
the word strace from the log. Except that you called your mountpoint
and directories strace too which I wasn't expecting. So the messages
that I actually needed got filtered out too.

Could you please do it again, but this time use a command like this:

strace gedit 21|grep -v filterthisaway  /tmp/filterthisaway.log

...and make sure that you don't mention the word filterthisaway anywhere
else.

Thanks

Robie

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Sebastien Bacher
 That fact it has been three years is stunning.

There is thousands of bugs opened every months and limited ressources to
work on those and smbfs is a power user thing and not something most
users will experience with when using ubuntu you are welcome to work on
the change though there

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread MountainX
 There is thousands of bugs opened every months and limited ressources
to work on those and smbfs is a power user thing and not something most
users will experience with when using ubuntu

See comment #108:
Don't you want Ubuntu to integrate smoothly into a Windows-centric environment? 
See Bug #1.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Daevid Vincent
Sebastien, your comment made me laugh. Linux *is* for power users. My
grandmother or parents or even sister (who is on myspace all day long)
would not use Linux. Anyone using gedit is most likely a power user as
well because if they were just a dumb user typing a paper for school
or a letter to a friend, they would be using Open Office write or some
email front end or website front end to enter the text. Next, SAMBA is
hardly a power user thing. If you're on ANY kind of network/LAN, you are
no doubt using samba or the Microsoft equivalent of it. Lastly, the damn
bug is THREE years old and NO other program has this problem. This is
just typical of Linux developers. They always want to claim it's a
desktop replacement and how great it is over Windows or OS-X, but then
refuse to fix things as it's much sexier to implement new features than
work on bugs. Or my other favorite is how they throw back the why don't
YOU fix it and submit a patch.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Robie Basak
I did post a patched version a long time ago that worked for some people
but it was for Intrepid so is now out of date. I'm still running
Intrepid so that makes it difficult for me to help.

It appears to me that there is more than one bug if a fix works for some
but not for all. This makes the issue very confusing to a developer to
fix.

Can I suggest that anyone who still has the bug does the following;

Install strace if it isn't already installed
Close all gedits
From a terminal, run: strace gedit 21|grep -v strace  /tmp/strace.log
In the gedit that runs, do as little as possible to reproduce the fault
As soon as the fault occurs, go back to the terminal and press Ctrl-C to stop 
the logging immediately

Then post the files /tmp/strace.log and /proc/mounts making sure that
they don't contain any confidential information you don't want to
reveal, as well as the filename and location that you were saving to so
the logs can be searched easily. strace.log will be quite large.

This information is essential for a developer to figure out what is
going on without just guessing. I can't promise anything though - the
amount of effort required all depends on the results.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread acabre
I've attached two strace logs in case anybody is interested.

strace_first.log contains a strace of launching GEdit, opening a file
over sshfs that had not been opened previously, making a change,
successfully saving it, making another change, and being unable to save.

strace_second.log contains a strace of launching GEdit, opening this
file that had been opened over sshfs before, and getting an error on
trying to save

I'm on 9.04. In both tests, the Create a backup copy of files before
saving as in the Editor preferences was checked. Unchecking this box
solves this problem for me.

The file I'm opening is /home/straceuser/stracedir/stracemnt/test.txt ,
where stracemnt is a sshfs fuse mount.

I'm sure there are several people here, myself included, who would be
willing to help troubleshoot this problem, if a dev was interested in
un-triaging it.

** Attachment added: strace.tar.gz
   http://launchpadlibrarian.net/35512943/strace.tar.gz

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Dmole
Thanks for that I was about to reboot to do just that;
because of this problem I use OS X for my laptop ATM

On Tue, Nov 10, 2009 at 10:25 PM, acabre acabre@gmail.com wrote:

 I've attached two strace logs in case anybody is interested.

 strace_first.log contains a strace of launching GEdit, opening a file
 over sshfs that had not been opened previously, making a change,
 successfully saving it, making another change, and being unable to save.

 strace_second.log contains a strace of launching GEdit, opening this
 file that had been opened over sshfs before, and getting an error on
 trying to save

 I'm on 9.04. In both tests, the Create a backup copy of files before
 saving as in the Editor preferences was checked. Unchecking this box
 solves this problem for me.

 The file I'm opening is /home/straceuser/stracedir/stracemnt/test.txt ,
 where stracemnt is a sshfs fuse mount.

 I'm sure there are several people here, myself included, who would be
 willing to help troubleshoot this problem, if a dev was interested in
 un-triaging it.

 ** Attachment added: strace.tar.gz
   http://launchpadlibrarian.net/35512943/strace.tar.gz

 --
 gedit fails to save files over smbfs/cifs
 https://bugs.launchpad.net/bugs/34813
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in Light-Weight Text Editor for Gnome: Confirmed
 Status in SambaServer: Invalid
 Status in SSHFS Mounter: Confirmed
 Status in “gedit” package in Ubuntu: Triaged

 Bug description:
 Saving files over a cifs/smbfs server doesnt work.  You can open file, edit
 then save perfectly.  But repeated saves after give you this error:

 The file /home/dhonn/website/arrays.php has been modified since reading
 it.  If you save it, all the external changes could be lost. Save it
 anyway?

 The think is lying to me because I havent made any external changes.

 When I click Save Anyway, i get this error:

 Could not save the file /home/dhonn/website/arrays.php.

 But on the third try it works just fine.

 Here are the error messages, btw there are also GUI glitches too:
 http://dhonn.com/images/gedit-0.jpg
 http://dhonn.com/images/gedit-1.jpg



-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Sebastien Bacher
 Don't you want Ubuntu to integrate smoothly into a Windows-centric
environment?

using GNOME to edit smb document over gvfs mount works fine which is the
recommended desktop way, the issue is with fstab command line mounts
there

 Linux *is* for power users.

Good, so power users should know how to use an another editor or
workaround the issue

 Next, SAMBA is hardly a power user thing. If you're on ANY kind of
network/LAN, you are no doubt using samba or the Microsoft equivalent of
it.

Right, that's why GNOME can mount smb shares in an easy way and editing
txt using gedit works just fine there, the issue is when you use command
line to mount samba mounts in a system specific way

 but then refuse to fix things as it's much sexier to implement new
features than work on bugs. Or my other favorite is how they throw back
the why don't YOU fix it and submit a patch.

the comment is not very useful when you comment on a distribution bug
tracker and not to the software writer and the issue is a lack of
manpower one

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-10 Thread Sean G
Unless there are issues I'm not aware of, we could fix this by always
enabling the behavior triggered when enabling the Create a backup copy of
files before saving option, and then removing the capability for the user
to disable that functionality. (Note that this is a workaround that works
the last time I tried it, and is documented.)

It'd be an easy fix.

Sean

On Tue, Nov 10, 2009 at 11:41 PM, Sebastien Bacher
seb...@ubuntu.comwrote:

  Don't you want Ubuntu to integrate smoothly into a Windows-centric
 environment?

 using GNOME to edit smb document over gvfs mount works fine which is the
 recommended desktop way, the issue is with fstab command line mounts
 there

  Linux *is* for power users.

 Good, so power users should know how to use an another editor or
 workaround the issue

  Next, SAMBA is hardly a power user thing. If you're on ANY kind of
 network/LAN, you are no doubt using samba or the Microsoft equivalent of
 it.

 Right, that's why GNOME can mount smb shares in an easy way and editing
 txt using gedit works just fine there, the issue is when you use command
 line to mount samba mounts in a system specific way

  but then refuse to fix things as it's much sexier to implement new
 features than work on bugs. Or my other favorite is how they throw back
 the why don't YOU fix it and submit a patch.

 the comment is not very useful when you comment on a distribution bug
 tracker and not to the software writer and the issue is a lack of
 manpower one

 --
 gedit fails to save files over smbfs/cifs
 https://bugs.launchpad.net/bugs/34813
 You received this bug notification because you are a direct subscriber
 of the bug.

 Status in Light-Weight Text Editor for Gnome: Confirmed
 Status in SambaServer: Invalid
 Status in SSHFS Mounter: Confirmed
 Status in “gedit” package in Ubuntu: Triaged

 Bug description:
 Saving files over a cifs/smbfs server doesnt work.  You can open file, edit
 then save perfectly.  But repeated saves after give you this error:

 The file /home/dhonn/website/arrays.php has been modified since reading
 it.  If you save it, all the external changes could be lost. Save it
 anyway?

 The think is lying to me because I havent made any external changes.

 When I click Save Anyway, i get this error:

 Could not save the file /home/dhonn/website/arrays.php.

 But on the third try it works just fine.

 Here are the error messages, btw there are also GUI glitches too:
 http://dhonn.com/images/gedit-0.jpg
 http://dhonn.com/images/gedit-1.jpg



-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-11-09 Thread Alex Meakins
I'm seeing this behavior with a fresh install of 9.10 (64bit) . It is
incredibly irritating. That fact it has been three years is stunning.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-09-03 Thread Derek Simkowiak
So, in summary:

- Affects the default text editor
- Open for 3.5 years now (!!!)
- Over 100 comments...
- Gedit blames CIFS.  CIFS (and VirtualBox) blames Gedit.  From virtualbox.org:

Q: I get an error Unexpected error: Text file busy. when trying to edit a 
file.
A: When using gedit, this can happen on shared folders. This is a bug in 
gedit, not VB. Use a different editor.


I'm working in a Big Organization with a CIO who's a Windows Lover.  I've 
used virtualization to get around SafeBoot and other Windows-only garbage.  I 
now have access to all the tools I know and love... *except* the text editor.  
Ye gods!

   Don't you want Ubuntu to integrate smoothly into a Windows-centric
environment?  See Bug #1.

   I agree with the many others who are stuck with this problem.  This
bug needs to be upgraded to Importance: High.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-09-03 Thread Sebastien Bacher
The issue is not the bug settings but the lacks of person having the
issue and wanting to look at the bug rather

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-09-03 Thread Sebastien Bacher
Changing to triaged

** Changed in: gedit (Ubuntu)
   Status: Confirmed = Triaged

** Changed in: gedit (Ubuntu)
Milestone: ubuntu-9.04 = None

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-09-03 Thread Sebastien Bacher
Changing to triaged

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-07-22 Thread Sean G
Note that there is a preference in Gedit that fixes this issue (Edit 
Preferences  Editor  Create a backup copy of files before saving).

Solution documented here: http://blog.linuxtoday.com/blog/2009/05/gedit-
wont-save.html

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-07-22 Thread tim pezarro
I believe the fix below does not work in all cases. I continue to get
this error:

Could not save the file 
/media/directory_name/pezarro/t…save_error_workaround.txt
Unexpected error: Text file busy

Here are the details for the cifs mount:
//filer_name/filer_folder /media/directory_name cifs 
credentials=/root/.smbcredentials,workgroup=MyWorkGroup,uid=1000,gid=1001,file_mode=0777,dir_mode=0777,rw

I am running Ubuntu 8.10. If migrating to Ubuntu 9.4 was thought to remedy my 
trouble, I would certainly try it.

I quite like gedit and it would be nice to be able to use it error free with my 
cifs mount. Another workaround is to use a different text editor such as Gvim.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

RE: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-07-22 Thread tim pezarro
Hello,

I believe the fix below does not work in all cases. I continue to get
this error:

Could not save the file
/media/directory_name/pezarro/t...save_error_workaround.txt
Unexpected error: Text file busy

Here are the details for the cifs mount:
//filer_name/filer_folder /media/directory_name cifs
credentials=/root/.smbcredentials,workgroup=MyWorkGroup,uid=1000,gid=100
1,file_mode=0777,dir_mode=0777,rw

I am running Ubuntu 8.10. If migrating to Ubuntu 9.4 was thought to
remedy my trouble, I would certainly try it.

I quite like gedit and it would be nice to be able to use it error free
with my cifs mount. Another workaround is to use a different text editor
such as Gvim.

Cheers,

 -Original Message-
 From: boun...@canonical.com [mailto:boun...@canonical.com] On 
 Behalf Of Sean G
 Sent: Wednesday, July 22, 2009 1:50 PM
 To: Tim Pezarro
 Subject: [Bug 34813] Re: gedit fails to save files over smbfs/cifs
 
 Note that there is a preference in Gedit that fixes this 
 issue (Edit  Preferences  Editor  Create a backup copy of 
 files before saving).
 
 Solution documented here: 
 http://blog.linuxtoday.com/blog/2009/05/gedit-
 wont-save.html
 
 --
 gedit fails to save files over smbfs/cifs
 https://bugs.launchpad.net/bugs/34813
 You received this bug notification because you are a direct 
 subscriber of the bug.


-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-06-01 Thread Alexander Menk
Some days ago I thought it is a good idea to use cifs/smbmount instead
of the gnome VFS to access our Debian based Samba shares (samba version
is 3.0.24-6etch4). I am using Ubuntu 9.04.

- Cannot save files with gedit
- When opening .odt with Open Office, the seem to be opened readonly.
- The same operations work fine, when accessing the share using gnome-vfs

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-06-01 Thread Sebastien Bacher
 It affects anyone who works or plays on servers.

it's not a security issue nor a crasher and only an issue for people not
using GNOME to access vfs locations but rather doing mounts using fstab
there

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-06-01 Thread DLCBurggraaff
 only ... for people ... doing mounts using fstab

In other words: a lot of people.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-05-30 Thread Dmole
how is this Importance=Low?
It affects anyone who works or plays on servers.
90% of linux users IMO

** Changed in: sshfs-mounter
   Status: New = Confirmed

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-05-04 Thread harking
We're also seeing this issue on Eclipse, Geany, and Emacs, and gVim.

https://bugs.launchpad.net/gedit/+bug/34813/comments/39 also noticed
this on other applications.

How can this bug be confirmed to gvim only?

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-03-30 Thread Sebastien Bacher
** Changed in: gedit (Ubuntu)
Milestone: ubuntu-9.04-beta = ubuntu-9.04

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-02-23 Thread ZAP
@Robie: I tried your latest package, but it doesn't change this (buggy)
behavior for me. I am running Ibex and editing files on a Buffalo NAS
drive mounted in fstab with cifs (and my used id). Any idea what the
reason might be?

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-02-18 Thread toon
I get the same dependency error, but when I check synaptic package
manager, it says it's installed.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-02-10 Thread Yuzem
Does anyone knows if there is a fix for hardy?
When I try to install it says:
Error: Dependency is not satisfiable: libglib2.0-0

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-30 Thread Robie Basak
Justin,

The URLs with PPAs have changed. Use:

https://launchpad.net/%7Eracb/+archive/ppa/+files/gedit_2.24.2-0ubuntu2~basak1_i386.deb
https://launchpad.net/%7Eracb/+archive/ppa/+files/gedit_2.24.2-0ubuntu2~basak1_amd64.deb

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-30 Thread Justin Martin
Robie,

I'm trying to patch gedit on my work computer, but the link to your
patch package is broken.

Could you re-upload this?

Thanks

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-29 Thread Scott Armitage
Robie,

Sorry for the late reply, it's been a while since I've had my laptop at
work. Yes, your patch fixed the problem for me. Too bad they can't
include this as an option in the default source =/

Thanks for your help!

-Scott

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-25 Thread Robie Basak
Justin,

Does my package fix the problem for you?

My patch is just adapted from Red Hat's patch. This removes the
assumption that a file can be renamed while it is open by closing files
first before renaming them during the save process. On a normal Unix
filesystem this is permitted. On Windows, for example, it isn't.

If my package does not solve your problem, then I think we are talking
about two different bugs.

Robie

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-25 Thread Justin Martin
I installed the patch, and it seems to have remedied the issue.

Thanks a bunch.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-24 Thread Justin Martin
This is purely speculation, but I think I know the reason why this bug
occurs.

I've been getting this problem constantly over the past few days. I'm
using SSHFS to mount my remote web server, which has of late been a
fairly high-latency connection.

I have a feeling that this has something to do with the way gedit
handles modified stamps.

I think that the modified stamp on files aren't set until they are
finished saving, and because it's a high-latency mount, saving takes a
few moments. When I start trying to edit the file again, gedit checks to
see if the file has been modified by checking stamps, but since I
saved a few moments ago, and the modified stamp says that it happened
once the file finished saving on the remote end, it thinks there was an
edit.

The only way I could conceive of this being fixable is if gedit has a
configuration option to disable checking the modified stamp, or ignores
what it perceives to be recent modifications.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-23 Thread Loek Hilgersom
I still have the issue in intrepid with gedit over sshfs.
It works allright when I switch off 'Create a backup copy before saving'.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-23 Thread phredduk
Robie - Thanks for the patched version, works a treat!
Let's hope the Gedit team merge this fix, even if they have to implement it as 
an 'checkbox option' as someone suggested above

This bug's been bugging me since 7.10, 8.04 it was intermittent, and
when I moved to 8.10 I was disappointed to see it was still there.

Cheers ;)

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-20 Thread Sebastien Bacher
does anybody still get the issue in intrepid or jaunty?

** Changed in: gedit (Ubuntu)
   Status: Triaged = Incomplete

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-20 Thread Robie Basak
I got the issue in intrepid without my patch.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2009-01-20 Thread Sebastien Bacher
** Changed in: gedit (Ubuntu)
   Status: Incomplete = Confirmed
   Target: None = ubuntu-9.04-beta

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-24 Thread Robie Basak
Unable to reproduce with gedit 2.24.2-0ubuntu1 and sshfs to an rsync.net
account. Saving seems to work fine, regardless of whether the backup
before saving option is selected or not.

The fix that Brent mentions appears to be for a previous version of
gedit from comment #5 in the gnome bug, which modifies how files are
saved. gedit 2.42 has two mechanisms to save files - local and gio (ie.
sshfs/cifs) - presumably to address this issue - so that patch will no
longer work (it would apply to local saves, not remote saves).

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-24 Thread cwillu
@Robie

Iirc, the gio pathway is unrelated to this bug:  an sshfs mount is a
'local' mount (which is the root of the problem).  Saving files to
gnome sftp:// and smb:// file urls works fine (which is why some of us
users stopped caring about this bug years ago :p).

If that's correct, then it's completely appropriate to not treat gio
urls differently, to do otherwise would just introduce a bug in _that_
system.

On Wed, Dec 24, 2008 at 9:38 AM, Robie Basak rb-os...@justgohome.co.uk wrote:
 Unable to reproduce with gedit 2.24.2-0ubuntu1 and sshfs to an rsync.net
 account. Saving seems to work fine, regardless of whether the backup
 before saving option is selected or not.

 The fix that Brent mentions appears to be for a previous version of
 gedit from comment #5 in the gnome bug, which modifies how files are
 saved. gedit 2.42 has two mechanisms to save files - local and gio (ie.
 sshfs/cifs) - presumably to address this issue - so that patch will no
 longer work (it would apply to local saves, not remote saves).

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-24 Thread Robie Basak
Thanks cwillu, I understand now. I was confusing gio with native kernel-
based mounts.

I was able to replicate the first part of the original bug as reported,
but clicking Save Anyway always works for me.

I have patched gedit with an updated version of the patch that Brent
mentioned above. The error goes away.

Please try:
  amd64 
https://launchpad.net/%7Eracb/+archive/+files/gedit_2.24.2-0ubuntu2~basak1_amd64.deb
  i386 
https://launchpad.net/%7Eracb/+archive/+files/gedit_2.24.2-0ubuntu2~basak1_i386.deb

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-16 Thread Daevid Vincent
I have just slammed into this myself and wasted several hours trying to
debug 'sshfs' thinking that was gone haywire. I usually use Eclipse PDT
and my files saved fine. Then I was starting a new project, but didn't
want the bloat of Eclipse just yet while I copied files into directories
and modified basic template parameters. My files would save the very
first time, but subsequent saves weren't working. I tried setting them
to 666 and the upstream dirs to 777 and still it failed. I noticed
that if I deleted the files from an ssh terminal, then clicked save in
gedit they worked every time. The only other thing I noticed was there
was a ~ (backup) file. I then turned that option off in gedit's
preferences and now it saves all the time.

I can also edit and save from my desktop to the sshfs files with VIM no
problemo (although I don't use ~ backup files on there either, so this
may be a red-herring)

So this is certainly a strange bug with gedit and NOT sshfs.

I use Ubuntu 8.10 with all current updates.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-16 Thread Daevid Vincent
** Also affects: sshfs-mounter
   Importance: Undecided
   Status: New

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-05 Thread darko
Scott Armitage wrote:
 Or, alternatively, a GEdit plugin that I can install? This is greatly
 hindering my work right now and I have several end-of-semester reports
 due in the near future =/

 -Scott

   
Hi Scott!

I had the same problem you have. Because all this bug fix take too long 
I found the alternate solution which is maybe even better than bug fix 
for Gedit. I'm using different default editor Geany which in my opinion 
is better than Gedit. You could of course use any other in many 
available editors. As I understand only Gedit have problem with saving 
over cifs.

I forgot how I've changed default editor but I believe you have to 
change line in  ~/.local/share/applications/defaults.list to  
text/plain=geany-usercustom.desktop. I'm sure you'll find solution on 
the internet if that is not enough.


Darko

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-05 Thread Scott Armitage
Thanks Darko, but this isn't a solution, it's a work-around. I am using
GEdit because a) I am very familiar with it and b) I have LaTeX setup with
it exactly the way I like. At this point in time, switching to another text
editor (regardless of whether I would ultimately think it was better than
GEdit or not) is not an option.

From what I gather, the problem seems to be that the GEdit devs have chosen
their way of saving files because they are convinced it is more efficient.
Maybe this is the case. I know that GEdit prides itself on having few
options and many sensible defaults, but maybe this issue is large enough
that it would warrant a checkbox in the preferences dialog so that the user
can choose which method of saving they prefer.

The code bloat due to adding an option like this would be minimal; the
biggest hit would be in the user-interface, which I do understand is an
issue with the devs, but sometimes defaults just aren't enough.

-Scott

On Fri, Dec 5, 2008 at 3:19 AM, Darko Vrsic [EMAIL PROTECTED] wrote:

 Scott Armitage wrote:

 Or, alternatively, a GEdit plugin that I can install? This is greatly
 hindering my work right now and I have several end-of-semester reports
 due in the near future =/

 -Scott



 Hi Scott!

 I had the same problem you have. Because all this bug fix take too long I
 found the alternate solution which is maybe even better than bug fix for
 Gedit. I'm using different default editor Geany which in my opinion is
 better than Gedit. You could of course use any other in many available
 editors. As I understand only Gedit have problem with saving over cifs.

 I forgot how I've changed default editor but I believe you have to change
 line in  ~/.local/share/applications/defaults.list to
  text/plain=geany-usercustom.desktop. I'm sure you'll find solution on the
 internet if that is not enough.



 Darko



-- 
Scott Armitage, B.A.Sc., M.A.Sc. candidate
Space Flight Laboratory
University of Toronto Institute for Aerospace Studies
4925 Dufferin Street, Toronto, Ontario, Canada, M3H 5T6

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-04 Thread Scott Armitage
I too am experiencing this problem -- am not going to report versions
etc. since the cause and solution are already known. Unfortunately,
disabling backups did not work for me.

Are there any custom DEBs out there that have a patch applied for this?

-Scott

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-12-04 Thread Scott Armitage
Or, alternatively, a GEdit plugin that I can install? This is greatly
hindering my work right now and I have several end-of-semester reports
due in the near future =/

-Scott

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-10-14 Thread mbsmooth
I had this issue as well, I found this workaround,
http://chrisnicholls.ca/2008/03/22/using-gedit-over-sshfs-or-smbcifs-without-being-annoyed/

Just disable the 'Create backup of files before saving' feature. Fixed
for me on 8.04.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-10-02 Thread Zelda
I am also having this bug on SSHFS filesystem. So it surely not a samba
bug. It IS a gedit bug. If I delete the file that I want to save, it
saves. If it exists - aka: I save it again - It fails. No matter if
there is a backup or not.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-09-26 Thread Brent Farrell
I just noticed this bug still exists on Ubuntu 8.04 with the most recent
updates as of the time of posting.  I did a bunch of digging around on
Google to see if there was any fix or workaround and came up empty.  I
did notice that Red Hat seems to have fixed the problem in RHEL 5
(http://rhn.redhat.com/errata/RHBA-2008-0019.html).

Since it seems that this is solvable when can we expect Ubuntu to have a
solution?

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-07-21 Thread Sebastien Bacher
closing the upstream samba task there since it doesn't watch any bug

** Changed in: sambaserver
   Status: New = Invalid

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-06-11 Thread Riccardo Cossu
Alejandro's fix doesn't work for me; I use Ubuntu 7.10 and have the
problem with sshfs. I switched to another editor for that purpose... :-(

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-06-11 Thread Sebastien Bacher
those comment are not really useful there, there is enough users who
confirmed the bug now what is required is somebody working on the issue
rather

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-05-22 Thread EightBitSama
Alejando Dubrovsky's fix for sshfs solved the gedit problem for me. It
seems pretty silly that the gedit devs would place a restriction on you
that the filesystem/os should handle.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-05-13 Thread Alexander Blomen
I found a work-around that works for me (for files on a mounted smb share, with 
gedit 2.22.1)
Its a plugin that can be found here: http://chrisnicholls.ca/code/gedit-plugins/

It moves the original file to a temp directory and then saves the file.

DISCLAIMER:
I did not write the plugin, just found it on google.
Use the plugin at your own risk, it may not work in your case or damage your 
files or whatever.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-05-07 Thread Alejandro Dubrovsky
I think there are two different bugs overlapping in this ticket.  
Over sshfs, gedit and anjuta (on gutsy and hardy), fail to save and display a 
message with something like 'You cannot save ...'.  The problem and the message 
go away if the remote filesystem is mounted with sshfs -o uid=$UID.  This seems 
to indicate that gedit and anjuta are checking the owner and permission bits of 
the file before trying to write instead of actually trying to save the file.
The issue on smbfs with file modified times might be a different issue 
altogether.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-28 Thread High_Yield
I'm back...  I've posted my latest related Hardy results here:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/177710

The issue STILL exists in Hardy - just like it occured in Gutsy.

- B

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-22 Thread boris
I am sure this is not a proper way to fix it but I don't know enough
about gedit to trace this all the way. From what I can tell though the
error spawns in gedit-local-document-saver.c and it doesn't occur in vi:

 if (lsaver-priv-doc_mtime  0 
statbuf.st_mtime != lsaver-priv-doc_mtime 
((saver-flags  GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0))
{
g_set_error (lsaver-priv-error,
 GEDIT_DOCUMENT_ERROR,
 GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED,
 Externally modified);

goto out;
}

I've tried setting ahead and behind times on both server but I still
keep getting the error. Finally I commented out the entire if statement
and rebuild gedit. Works fine now but I am definitely missing out on
time stamp changes. Right now it's so frustrating though and I love the
editor so until gedit team has an official fix this will do.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-22 Thread boris
I am sure this is not a proper way to fix it but I don't know enough
about gedit to trace this all the way. From what I can tell though the
error spawns in gedit-local-document-saver.c and it doesn't occur in vi:

 if (lsaver-priv-doc_mtime  0 
statbuf.st_mtime != lsaver-priv-doc_mtime 
((saver-flags  GEDIT_DOCUMENT_SAVE_IGNORE_MTIME) == 0))
{
g_set_error (lsaver-priv-error,
 GEDIT_DOCUMENT_ERROR,
 GEDIT_DOCUMENT_ERROR_EXTERNALLY_MODIFIED,
 Externally modified);

goto out;
}

I've tried setting ahead and behind times on both server but I still
keep getting the error. Finally I commented out the entire if statement
and rebuild gedit. Works fine now but I am definitely missing out on
time stamp changes. Right now it's so frustrating though and I love the
editor so until gedit team has an official fix this will do.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-05 Thread Henri Cook
This is stopping me working properly on Hardy Beta! Someone fix the bug
already!

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-05 Thread MountainX
** Also affects: sambaserver
   Importance: Undecided
   Status: New

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-04-02 Thread MountainX
Unfortunately I am getting a lot more experience with this bug. I think
the following points summarize the factors the combine to produce this
bug:

1. the network share must reside on a Windows file server (or maybe another 
non-Unix-type file system).
2. the network file sharing protocol is cifs (and/or sshfs according to other 
related bugs).
3. the Linux clients run gedit, Geany, Vim, Eclipse or any other Linux app that 
attempts to move/rename an open file.

And in Ubuntu Hardy, smbfs also seems to cause the same problem that
cifs does.

I think the prior comments make it clear that the gedit devs don't plan
to fix this bug. Neither do the cifs devs. So anyone waiting for the
devs to get around to fixing it may have a long wait. (Also, if you read
the above comments you'll see that at least one patch has been submitted
but it isn't favored by the devs.)

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-03-28 Thread MountainX
See proposal here:
http://ubuntuforums.org/showthread.php?t=738168

(Peter Würtz, let's get in touch with each other. Please contact me
through my profile at ubuntuforums.org.)

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-03-28 Thread acabre
I think forking gedit is a little overboard. I am sure that a simple
patch is all that is needed, and could be provided for those of us who
need a resolution before the gedit dev's get around to fixing this.

I even think that a gedit plugin could probably be written to provide
the same functionality. The great thing about open source software is
where there is a manifest need, and people determined to fix it,
patching or adapting an existing application is really easy. And if the
patch is good enough, it gets merged.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-03-27 Thread MountainX
I'm seeing what looks like the same bug in Hardy beta.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-03-27 Thread Lilian ROBERT
Maybe a developer will come here one day and run gedit in debug mode to
tell us what is the cause of this error... I am suspecting a bug in
smbfs, the same that makes Eclipse always telling me out of sync when
I try to host my projects on a samba share.

This problem is one of the biggest that prevent me using Ubuntu in my
enterprise :/

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 34813] Re: gedit fails to save files over smbfs/cifs

2008-03-27 Thread acabre
Peter Würtz has already diagnosed the issue (in
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/comments/20
and again in
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/34813/comments/40),
so its not a mystery.

A patch that would probably fix the issue has even been posted at
http://bugzilla.gnome.org/show_bug.cgi?id=336738#c5 . There is just a
lack of consensus as to whether the solution is better than the problem.

-- 
gedit fails to save files over smbfs/cifs
https://bugs.launchpad.net/bugs/34813
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

  1   2   >