X-Spam-Check-By: sourceware.org Date: Tue, 3 Jan 2006 11:46:45 -0500 (EST) From: Igor Peshansky Reply-To: cygwin AT cygwin DOT com To: Ismael Valladolid Torres cc: cygwin AT cygwin DOT com Subject: Re: Managed mount: Permission denied In-Reply-To: <20060103162051.GA2868@spma33> Message-ID: References: <20060103162051 DOT GA2868 AT spma33> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 , 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/