www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
To: | cygwin AT cygwin DOT com |
From: | Dave Sinclair <dave AT sinclair1066 DOT fsnet DOT co DOT uk> |
Subject: | directory permissions problem with net use |
Date: | Tue, 28 Nov 2006 22:20:45 +0000 (UTC) |
Lines: | 42 |
Message-ID: | <loom.20061128T231450-174@post.gmane.org> |
Mime-Version: | 1.0 |
User-Agent: | Loom/3.14 (http://gmane.org/) |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.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 |
If I ssh (as root) into my Windows 2003 box running Cygwin and then in the Cygwin shell create a network share, then things don't quite work as I expected.. root AT brandy / $ net use s: \\\\beech.mydomain.com\\svctools The command completed successfully. root AT brandy / $ df Filesystem 1K-blocks Used Available Use% Mounted on C:\cygwin\bin 78148160 11690696 66457464 15% /usr/bin C:\cygwin\lib 78148160 11690696 66457464 15% /usr/lib C:\cygwin 78148160 11690696 66457464 15% / c: 78148160 11690696 66457464 15% /cygdrive/c d: 389140 389140 0 100% /cygdrive/d df: `/cygdrive/s': Permission denied Curiously, you can cd into subdirectories on the S: drive, but you can't list the root directory on S: root AT brandy / $ cd /cygdrive/s root AT brandy /cygdrive/s $ ls ls: cannot open directory .: Permission denied root AT brandy /cygdrive/s $ cd perl root AT brandy /cygdrive/s/perl $ ls docs tc which seems a bit weird.... if you go to the S: drive in an native windows command box, then dir S: works fine..... Can anyone spot what I'm doing wrong? Why is permission denied in the /cygdrive/s directory even though one can cd into its subdirectories? many thanks -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |