delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/10/16/06:31:03

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <FF503547C1F8D211BD2C0008C7C564010C9A493B@exdkba06.novo.dk>
From: "JHJE (Jan Holst Jensen)" <jhje AT novonordisk DOT com>
To: "'Corinna Vinschen'" <cygwin AT cygwin DOT com>
Subject: RE: rsh: "Permission denied" on file creation. Cygwin 1.3.3 on W2
K Adv Srv SP2.
Date: Tue, 16 Oct 2001 12:28:53 +0200
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)

Running mount gives me:

libx AT SC-LIBPHARM01 ~ 
$ mount 
C:\cygwin\bin on /usr/bin type system (binmode) 
C:\cygwin\lib on /usr/lib type system (binmode) 
C:\cygwin on / type system (binmode) 
c: on /cygdrive/c type user (textmode,noumount)

These are also the mount points found in the registry at
HKLM\Software\Cygnus Solutions\Cygwin\mounts v2\ (except for the
c:-mapping). I assume the registry mounts is the system mount table.

/home/libx is located in C:\cygwin\home\libx, so it is accessible through
the "/" mount point. I have no user mounts and the remote machine uses no
network shares.

-- Jan Holst Jensen

-----Original Message-----
From: Corinna Vinschen [mailto:cygwin AT cygwin DOT com]
Sent: Tuesday, October 16, 2001 12:07
To: cygwin
Subject: Re: rsh: "Permission denied" on file creation. Cygwin 1.3.3 on
W2 K Adv Srv SP2.


On Tue, Oct 16, 2001 at 11:25:05AM +0200, JHJE (Jan Holst Jensen) wrote:
> But the file that I try to create is _not_ on a network share. I am trying
> to create a file in /home/libx which is in the local file system of the
box
> that I rsh to. I can overwrite existing files in /home/libx but cannot
> create new files.

Check the mount table on the remote machine.  The /home/libx path
must be accessible using the system mount table.  Logon w/o
authentication doesn't enable the user specific mount table.

That means, e.g. if /home is a mount point to D:\home, mount
should print

   D:\home on /home type system (binmode)
                         ^^^^^^
			 that's important

Another problem is that in the above example the drive letter
D: must be a globally accessible drive, not a user specific drive
as it's often with Z: which is mounted when the user logs on.

Corinna


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019