From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Harry Putnam Newsgroups: gmane.emacs.help Subject: Re: Samba in Emacs? Date: Wed, 25 Jun 2003 08:44:56 -0700 Organization: Still searching... Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <84y8zr5kkt.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1056561122 9754 80.91.224.249 (25 Jun 2003 17:12:02 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 25 Jun 2003 17:12:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 25 19:12:00 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19VDlw-0002K5-00 for ; Wed, 25 Jun 2003 19:09:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19VCs6-00077L-80 for gnu-help-gnu-emacs@m.gmane.org; Wed, 25 Jun 2003 12:11:46 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!news.stealth.net news.stealth.net!news.stealth.net!cox.net!news-xfer.cox.net!p01!fed1read03.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:c1hUowlWWbOMVchtE7vV16vnjMo= Original-Lines: 34 Original-NNTP-Posting-Host: 68.6.72.73 Original-X-Complaints-To: abuse@cox.net Original-X-Trace: fed1read03 1056555896 68.6.72.73 (Wed, 25 Jun 2003 11:44:56 EDT) Original-NNTP-Posting-Date: Wed, 25 Jun 2003 11:44:56 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:114726 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:11217 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11217 Michael Albinus writes: > Harry Putnam writes: > >> How cool. Anyone know how to delete a directory using smb from unix >> to win (under emacs as above). The normal dired methods to create or >> delete a dir do not work here. >> >> However smbclient //MACHINE/SHARE -UAdministrator >> PASSWORD >> rmdir dir >> >> Does work. How can I pass that command thru emacs? > > Just checked with my Tramp 2.0.35. You're right, creating a directory > fails in tramp-smb-handle-make-directory-internal. I'll check next > days why. > > Removing works from dired, given the directory is empty. Could you, > please, be a little bit more verbose how it does NOT work for you? Ok, but only if you will be more verbose about how `Removing' works for you. hehe : ) In my case I tried to remove an empty directory with: place cursor on empty dir ! rm -rf * Just now also tried ! rmdir ! rm In both cases, with and without asterisk The directory is unaffected and no error is thrown.