X-Spam-Check-By: sourceware.org Date: Thu, 30 Nov 2006 10:34:19 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: directory permissions problem with net use Message-ID: <20061130093419.GC25001@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <456CC08B DOT 502 AT cygwin DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: 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 Nov 29 17:49, Dave Sinclair wrote: > Larry Hall (Cygwin cygwin.com> writes: > > > > > Specify the user name and password to "net use"? If this is not it, we > > need 'cygcheck -srv' output, your '/etc/passwd' and '/etc/group' entries for > > 'root', and whether you ssh in with password or public key authentication. > > The former should work. The latter requires the user name and password > > supplied to "net use" as I mentioned above. > > > > Thanks Larry, i tried it with a passoword/userid (see below) but no joy. > > here's the cygcheck -srv output etc: > [...] > net use s: \\\\beech\\svctools xxxxx /USER:root > The command completed successfully. > > df: `/svctools': Permission denied > Filesystem 1K-blocks Used Available Use% Mounted on > C:\cygwin\bin 78148160 11758728 66389432 16% /usr/bin > C:\cygwin\lib 78148160 11758728 66389432 16% /usr/lib > C:\cygwin 78148160 11758728 66389432 16% / > c: 78148160 11758728 66389432 16% /cygdrive/c > d: 389140 389140 0 100% /cygdrive/d > df: `/cygdrive/s': Permission denied Can you give us the output of 'cacls s:\' from a shell in which you're able to access that drive, and the output of 'c:/windows/system32/whoami /all' when you logged on via ssh? I assume the permissions on the drive are set in a way which disallows access using the passwordless user token, which is not quite the same as a user token which is generated by a logon with password. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/