From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37999 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: error entering cvs gnus Date: Sun, 19 Aug 2001 02:11:46 +0200 Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035173651 18467 80.91.224.250 (21 Oct 2002 04:14:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:14:11 +0000 (UTC) Cc: ding@gnus.org Return-Path: Return-Path: Original-Received: (qmail 2657 invoked from network); 19 Aug 2001 00:11:59 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 19 Aug 2001 00:11:59 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated) by dolk.extundo.com (8.11.3/8.11.3) with ESMTP id f7J0C6w09702; Sun, 19 Aug 2001 02:12:07 +0200 Original-To: Laura Conrad In-Reply-To: (Laura Conrad's message of "18 Aug 2001 19:49:22 -0400") Mail-Copies-To: nobody User-Agent: Gnus/5.090004 (Oort Gnus v0.04) XEmacs/21.4 (Artificial Intelligence) Original-Lines: 26 Xref: main.gmane.org gmane.emacs.gnus.general:37999 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37999 Laura Conrad writes: > When I try to enter the cvs gnus that I upped this afternoon, I get: > > Signaling: (file-error "Creating directory" "file exists" "/home/lconrad/Mail/world/old") > make-directory-internal("/home/lconrad/Mail/world/old") > make-directory("/home/lconrad/Mail/world/old/" t) > gnus-make-directory("/home/lconrad/Mail/world/old/") I don't get this, `gnus-make-directory' should only create the directory if it does not already exist: (defun gnus-make-directory (directory) "Make DIRECTORY (and all its parents) if it doesn't exist." (require 'nnmail) (let ((file-name-coding-system nnmail-pathname-coding-system)) (when (and directory (not (file-exists-p directory))) (make-directory directory t))) t) Is there something wrong with `file-exists-p' in your setup? NFS? Does `(file-exists-p "/home/lconrad/Mail/world/old/")' really evaluate to nil? The directory exists, right? Maybe `file-directory-p' should be used instead?