all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kim Christensen <kim.christensen@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cannot use normal save (C-x C-s) when operating over network  mount
Date: Mon, 15 Jun 2009 00:40:46 -0700 (PDT)	[thread overview]
Message-ID: <d3e1d76f-602a-4fb5-a51d-3d3e7bb8ff97@y7g2000yqa.googlegroups.com> (raw)
In-Reply-To: 87r5xor5py.fsf@lion.rapttech.com.au

On Jun 13, 8:46 am, Tim X <t...@nospam.dev.null> wrote:

Hi Tim,

Thanks for your reply.

> 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.

Our Samba solution is implemented on Linux, with no quota rules
applied whatsoever. As I described in the OP, the problem I am having
does only occur when trying to save (overwrite) a file using the
standard save command ('C-x C-s'). If I use the "Save as" command ('C-
x C-w') instead, and specify the file name which I currently have open
and want to save, everything works as expected.

> 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?).

My backup files reside under my home directory, specified with the
'backup-directory-alist' variable.

> 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.

I started emacs with the -q and -Q arguments and the problem persists.

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

Now, here is where it gets interesting - TRAMP works flawlessly. I set
it up this Friday and did some testing for a few hours and it haven't
had a hiccup yet.

If I open a file using the mounted Samba share, edit it for a bit and
try to save it (using 'C-x C-s'), Emacs gives me the error that it
can't find the file or directory. When opening it with TRAMP (using
the '/smb:/') keyword, I can save it without any problems at all!

> 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

I just tried editing a few files over the samba share with vim and it
works without any problems.

Regards,
Kim



  reply	other threads:[~2009-06-15  7:40 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
2009-06-15  7:40               ` Kim Christensen [this message]
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=d3e1d76f-602a-4fb5-a51d-3d3e7bb8ff97@y7g2000yqa.googlegroups.com \
    --to=kim.christensen@gmail.com \
    --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.