X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,KHOP_THREADED,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE X-Spam-Check-By: sourceware.org X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=/ntSsiZUqChqdxxPTl7PW/5mfMet4Sf8/EpNm+XMykg=; b=Jpxyh96DblEwOVd2V8cohmBb6NVeKeXCVLIIZheZCYSm3X1tGA0hdXkBs2e25uKVR7 A2nho9EE1onN8vdNKdR6qKVBrjFoht6Hn7y1GUPVIM5L/BsmRWktdhwviq7GPA1J3gzQ QIImi2c8BX0umeQRoVhMNs6fGph4yWcjjih48g3pUwR3gR81TjqVjwIO1ClR8kYPSqBp BHToOeHhZHUjvznjbciy03O6XCUQEhpbx0QbG3CcjjazxuMw4FBeDvuS1rVwZGsZ2Mqi 7tWQWTYoy97qM/cVHJ0ELDkfmoP7G0KThq1LL+9JUDT53C5SgIVivTAeMntc6e2kgu8E dlOw== Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1257) Subject: Re: Problem accessing Win98 network drive when logged in via ssh (or cron) From: Gareth Howell In-Reply-To: <20120521111158.GF7763@calimero.vinschen.de> Date: Tue, 22 May 2012 09:24:40 +0100 Message-Id: <855CF727-3892-47FE-9C3F-1EE89194604B@agdon.co.uk> References: <61BDBDC0-635B-4D8D-BB01-B6FA9931DD5D AT agdon DOT co DOT uk> <20120521111158 DOT GF7763 AT calimero DOT vinschen DOT de> To: cygwin AT cygwin DOT com X-Gm-Message-State: ALoCoQlxDZocafEq9I3n2zSalB5e8F8Z3hmE4T68Wb6+Cfr29f9f7kpSmW8zn2MMXLtZGF/5RA02 X-IsSubscribed: yes 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 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q4M8PwVI005012 > On May 15 13:29, Gareth Howell wrote: >> Hi >> I have cygwin (latest) running on an XP machine. It needs to access two workstations running Win95 and one running Win98. >> >> At the windows level, there are drive maps to the 'C' drives on the three workstations as X:, Y: and Z: and the filesystem can be seen. >> Cygwin's fstab has lines to mount the same network shares (using UNC paths) under the /mnt directory. >> >> The two Win95 shares and the single Win98 share show up just fine as type vfat when I do a mount when running cygwin terminal on the XP machine. >> If I log in remotely using ssh (as Administrator), the two Win95 shares show up as before, but the Win98 share shows up as type unknown and I can't access the filesystem. The same occurs if a job is run using the Administrator's crontab. >> >> I can see it's probably a permissions issue, but I can't get to the bottom of it or understand why the behaviour is different between Win95 and Win98. >> >> Any guidance would be welcome. > > First, please read the User's Guide chapter about switching the user > context. It explains the problems with mapping shares when changing > the user account via ssh or whatever: > http://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-setuid-overview > > In your scenario it might have something to do with the way the shares > are shared. The old SMB knew user level shares and, well, share level > shares. The latter doesn't require a logon to be accessible. Maybe the > 95 shares are shared this way? > > > Corinna > > -- > Corinna Vinschen Please, send mails regarding Cygwin to > Cygwin Project Co-Leader cygwin AT cygwin DOT com > Red Hat > > -- > Problem reports: http://cygwin.com/problems.html > FAQ: http://cygwin.com/faq/ > Documentation: http://cygwin.com/docs.html > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Thanks for that Corinna. It's weird; the Win95 shares appear OK, it's only the Win98 share. As I indicated in another thread, I have avoided the problem by using a different workstation as the proxy. I have a different problem with that one though. All three shares appear OK when I log in using SSH. When I try to run rsync over ssh though, I get errors saying the mount points "vanished" during the transfer. Gareth -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple