delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Date: | Mon, 21 May 2012 13:11:58 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Problem accessing Win98 network drive when logged in via ssh (or cron) |
Message-ID: | <20120521111158.GF7763@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <61BDBDC0-635B-4D8D-BB01-B6FA9931DD5D AT agdon DOT co DOT uk> |
MIME-Version: | 1.0 |
In-Reply-To: | <61BDBDC0-635B-4D8D-BB01-B6FA9931DD5D@agdon.co.uk> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |