Re: Managed mount: Permission denied

2006-01-03 Thread Christopher Faylor
On Tue, Jan 03, 2006 at 05:20:51PM +0100, 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

I don't understand why I could create de directory but not mount over
it. Moreover which is the preferred way to get managed mounts on boot?

Any ideas welcome.

WFM.  However I used:

  mkdir /cygdrive/d/Mail
  mkdir /Mail
  mount -o managed d:/Mail /Mail

If this doesn't work for you, then we'll need the details mentioned at
http://cygwin.com/problems.html .

cgf


--
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/



Re: Managed mount: Permission denied

2006-01-03 Thread Igor Peshansky
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/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
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/