This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Managed mount: Permission denied
- From: Igor Peshansky <pechtcha at cs dot nyu dot edu>
- To: Ismael Valladolid Torres <ivalladt at punkass dot com>
- Cc: cygwin at cygwin dot com
- Date: Tue, 3 Jan 2006 11:46:45 -0500 (EST)
- Subject: Re: Managed mount: Permission denied
- References: <20060103162051.GA2868@spma33>
- Reply-to: 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@cs.nyu.edu | igor@watson.ibm.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/