delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/01/11/04:31:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 11 Jan 2002 10:29:41 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: telnet cannot see mount drive - another method
Message-ID: <20020111102941.U12057@cygbert.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020111063622 DOT 6087 DOT qmail AT web21201 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
In-Reply-To: <20020111063622.6087.qmail@web21201.mail.yahoo.com>
User-Agent: Mutt/1.3.22.1i

On Fri, Jan 11, 2002 at 06:36:22AM +0000, Tiffany Chan wrote:
> I have try another method to "cd" to another server
> rather than using "mount" or "net use". 
> In my case, I want to get/put files from w2k advanced
> server to/from HP-Unix Server.
> 
> ---------------        			        ----------------
> Cygwin in w2k					HP-Unix
>  		   <--User Mapping by SFU -->
> /home/UserA					/upload/UserA 
> Owner=UserA:GroupA				Owner=UserA:GroupA Mode:755
> 						
> 						Under /upload/UserA,
> 						755 UserA:GroupA FileOne
> 						755 UserA:GroupA DirOne
> ---------------					----------------
> 
> I installed a software "Service For Unix 2.0" (SFU)
> which is used to map userid and group between w2k and
> Unix. 
> 
> The Unix Server acts as NFS server. I telnet to w2k
> using Cygwin, logon as UserA and type
> $cd "\\\UnixServer\\upload\\UserA"
> $ls -l
> rw-r--r-- UserA:GroupA FileOne
> rwxr-xr-x UserA:GroupA DirOne
> 
> The ownership is correct, but the mode go wrong. When
> I type
> $chmod 755 FileOne
> The mode of FileOne also 644 shown in Cygwin. 755
> shown in Unix.
> 
> UserA can delete FileOne in Cygwin. Thus I think the
> ownership is mapped between w2k and Unix correctly. 
> 
> What's wrong with the "mode" ? Did it related to
> "mapping leak" ? 
> How to shown 755 in Cygwin when I type `chown 755
> FileOne` in `\\UnixServer\upload\UserA` ?

I can think of three possible causes:

- SFU has fixed settings for ACE permission bits <-> UNIX permissions
  which do not correspond cleanly (in which case you would be out of
  luck).
- SFU has configurable settings for that.
- The NFS share's mapping disallows setting the x-bit.

In either way it could help to debug that problem.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
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