all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot use normal save (C-x C-s) when operating over network mount
Date: Sat, 13 Jun 2009 16:46:33 +1000	[thread overview]
Message-ID: <87r5xor5py.fsf@lion.rapttech.com.au> (raw)
In-Reply-To: d4067e24-4095-43ab-bdfe-b6fe29478e5f@l12g2000yqo.googlegroups.com

Kim Christensen <kim.christensen@gmail.com> writes:

> On Jun 12, 1:12 pm, Lennart Borgman <lennart.borg...@gmail.com> wrote:
>> Kim, what version of Emacs are you using? Does this happen with
>> pretest Emacs 23?
>
> Hi Lennart,
>
> I grabbed the latest version from CVS (23.0.94.1), still the same
> issue.
>
> Here is the (possibly) related gedit bug I mentioned earlier:
> https://bugs.launchpad.net/sambaserver/+bug/34813
>
> It seems that the problem is gedit trying to rename a file which has
> an open file descriptor, which is not supported on (some) non-Linux
> filesystems as is the case with SMB/CIFS. Maybe this is the case with
> Emacs too? I'm not too much of a wizard to check the behaviour
> myself :-)
>
I edit data on a remote windows server by mounting a partition locally
using smbfs. 

I have only ever had problems with saving files when either my quota has
been exceeded or the windows service running the quota software has
stopped running or got stuck. 

I know nothing about windows, but when I asked the windows admins what
was going on, I was somewhat surprised regarding how the quota software
seems to operate under windows. I don't know what the software is, ut I
believe it is some third party software. 

At any rate, I get similar errors/behavior to what you have outlined
when there are issues with the disk quota software is playing up. 

My suggestions would be 

1. Check there are no quota or space issues on the remote system. Keep
in mind there often needs to be twice your file size space available to
handle temp files etc. (which reminds me, where is emacs putting its
backup files?). 

2. Run emacs in bare bones mode using emacs -q and emacs -Q to make sure
that its not something in your customization or site wide customization
that is breaking things. Just try editing a small file and saving it -
do it in fundamental mode rather than a special purpose mode, just in
case it is something with the mode that is causing the problem. 

3. Try editing the file with tramp and see if you get the same issue

4. Try editing the file with vi/nano/pico/whatever and see if there are
any problems. This may help to determine if its an emacs issue, a file
mount issue or a windows/smb issue

HTH

Tim


-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2009-06-13  6:46 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11  8:35 Cannot use normal save (C-x C-s) when operating over network mount Kim Christensen
2009-06-11 13:32 ` Tassilo Horn
     [not found] ` <mailman.457.1244727146.2239.help-gnu-emacs@gnu.org>
2009-06-11 14:13   ` Kim Christensen
2009-06-11 22:01 ` Xah Lee
2009-06-11 22:49   ` Kim Christensen
2009-06-12  9:41     ` Tassilo Horn
     [not found]     ` <mailman.506.1244799704.2239.help-gnu-emacs@gnu.org>
2009-06-12 10:31       ` Kim Christensen
2009-06-12 11:12         ` Lennart Borgman
     [not found]         ` <mailman.510.1244805160.2239.help-gnu-emacs@gnu.org>
2009-06-12 11:50           ` Kim Christensen
2009-06-12 14:00             ` Lennart Borgman
2009-06-13  1:16             ` Jason Rumney
2009-06-15  7:29               ` Kim Christensen
2009-06-13  6:46             ` Tim X [this message]
2009-06-15  7:40               ` Kim Christensen
2009-06-12 11:52         ` Tassilo Horn
     [not found]         ` <mailman.512.1244807597.2239.help-gnu-emacs@gnu.org>
2009-06-12 14:18           ` Kim Christensen
2009-06-12 13:24     ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r5xor5py.fsf@lion.rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.