This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problem accessing Win98 network drive when logged in via ssh (or cron)

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:

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 Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

Problem reports:
Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]