This is the mail archive of the cygwin@cygwin.com 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]

RE: rsh: "Permission denied" on file creation. Cygwin 1.3.3 on W2 K Adv Srv SP2.


Running mount gives me:

libx@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@cygwin.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/


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