Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 Mime-Version: 1.0 (Apple Message framework v623) Content-Transfer-Encoding: 7bit Message-Id: <5d3f5dd52c71ff2e4e5e7b2734b19c0e@alternative.ch> Content-Type: text/plain; charset=US-ASCII; format=flowed To: cygwin AT cygwin DOT com From: Leonard Bouchet <cygwin AT alternative DOT ch> Subject: ssh tunnel and permission denied Date: Wed, 12 Oct 2005 20:03:00 +0200 X-IsSubscribed: yes Hi all, I'm trying to configure smb over ssh with cygwin and have some trouble. I can't access my smb drive through cygwin when I'm mounting it throught the ssh tunnel. Here are the steps I follow: # Step 1: open the ssh tunnel $ ssh -fNL 139:myserver:139 user AT myserver # Step 2: connect to the smb drive $ net use 'Z:' '\\myserver\user' <mypassword> # Step 3: try to access the drive $ cd /cygdrive/z BASH: cd: z: Permission denied Note: When I follow this procedure without tunnelling (direct access to the smb drive), I can access the drive without any problem. Note 2: I can normally access Z through windows' explorer, it's only through cygwin that I have a 'Permission denied' Can anyone help me on this? Thanks a lot, -l P.S. using Windows 98 at the moment, but planning to do the same on XP Pro, I hope it's a Win98 related bug... -- 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/