delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/01/03/11:46:55

X-Spam-Check-By: sourceware.org
Date: Tue, 3 Jan 2006 11:46:45 -0500 (EST)
From: Igor Peshansky <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Ismael Valladolid Torres <ivalladt AT punkass DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: Managed mount: Permission denied
In-Reply-To: <20060103162051.GA2868@spma33>
Message-ID: <Pine.GSO.4.63.0601031131380.8210@slinky.cs.nyu.edu>
References: <20060103162051 DOT GA2868 AT spma33>
MIME-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Tue, 3 Jan 2006, Ismael Valladolid Torres wrote:

> I am trying to get a managed mount in order to store a
> maildir. However it looks like I'm missing something:
>
> $ mkdir "D:\Mail"
> $ mkdir /Mail
> $ mount -o managed "D:\Mail" /Mail
> mount: /Mail: Permission denied

Judging by the prompt, you're using a Cygwin shell.  Most Unix shells use
the backslash as the escape character, so you're really creating a
directory "D:Mail" (which may not really be in the root of the D: drive).

> I don't understand why I could create de directory but not mount over
> it.

WFM.  Please read and follow the Cygwin problem reporting guidelines at
<http://cygwin.com/problems.html>, especially the part about attaching (as
an uncompressed text *attachment*) the output of "cygcheck -svr" on your
system.

> Moreover which is the preferred way to get managed mounts on boot?

Mounts in Cygwin are different from Unix mounts in that they are
persistent -- you only need to give the 'mount' command once.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha AT cs DOT nyu DOT edu | igor AT watson DOT ibm DOT com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019