This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: mount: /whatever: Permission denied
- From: AP - Simon Blandford <simon at audiopartnership dot com>
- To: "'cygwin at cygwin dot com'" <cygwin at cygwin dot com>
- Date: Sat, 20 Jul 2002 03:13:58 +0100
- Subject: RE: mount: /whatever: Permission denied
OK, solved it.
I acually have to run Cygwin logged into Win2K as Administrator for mount to
work in this way.
Alternatively, I can hack the mount points into the registry using regedit.
Simon.
> -----Original Message-----
> From: AP - Simon Blandford [mailto:simon@audiopartnership.com]
> Sent: 20 July 2002 00:24
> To: 'cygwin@cygwin.com'
> Subject: mount: /whatever: Permission denied
>
>
> I can't mount a directory.
>
> I type...
> $ mkdir /twiki /c c:/twiki
> $ mount -b -s c:/twiki /twiki
> ...but I get...
> mount: /twiki: Permission denied
>
> As far as I can tell using ls -l all the directories involved
> belong to
> Administrator i.e. me. So what's going on?
>
> ls -l of the / directory looks like...
> $ ls -l
> total 74
> drwxr-xr-x 3 Administ None 49152 Jul 19 09:44 bin
> drwxr-xr-x 2 Administ None 0 Jul 19 09:47 c
> -rwxr-xr-x 1 Administ None 57 Jul 19 09:05 cygwin.bat
> -rw-r--r-- 1 Administ None 766 Jul 19 09:45 cygwin.ico
> drwxr-xr-x 5 Administ None 4096 Jul 19 09:59 etc
> drwxr-xr-x 3 Administ None 0 Jul 19 10:12 home
> drwxr-xr-x 8 Administ None 16384 Jul 19 09:44 lib
> drwxr-xr-x 2 Administ None 0 Jul 19 09:43 sbin
> drwxr-xr-x 2 Administ None 0 Jul 19 09:04 tmp
> drwxr-xr-x 2 Administ None 0 Jul 19 09:47 twiki
> drwxr-xr-x 16 Administ None 4096 Jul 19 09:43 usr
> drwxr-xr-x 6 Administ None 0 Jul 19 09:45 var
>
> ls -l of c: (the bit that matters!) looks like...
> drwxr-xr-x 2 Administ None 0 Jul 19 09:47 twiki
>
> Regards,
> SimonB.
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
>
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/