delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/27/18:52:54

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
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <ADeFaria AT Salira DOT com>
Subject: Re: Question about "rexec"
Date: Tue, 27 May 2003 15:53:25 -0700
Lines: 55
Message-ID: <bb0q36$3p5$1@main.gmane.org>
References: <balmed$u7f$1 AT main DOT gmane DOT org> <Pine DOT GSO DOT 4 DOT 44 DOT 0305231407561 DOT 26092-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4b) Gecko/20030515 Thunderbird/0.1a
X-Accept-Language: en-us, en
In-Reply-To: <Pine.GSO.4.44.0305231407561.26092-100000@slinky.cs.nyu.edu>

Igor Pechtchanski wrote:

>>> Or you could just look at the FAQ:
>>>
>>>Why doesn't chmod work?
>>><http://cygwin.com/faq/faq_toc.html#TOC45>
>>>      
>>>
>>All that this says is to insure that you have ntsec set. I have it set.
>>chmod still doesn't work! BTW I'm on Windows XP and use NTFS. My home
>>directory is on the server (/us is a mount of //<server>/<share>).
>>    
>>
>
>Andrew,
>
>For Samba shares you need to have 'smbntsec' set -- 'ntsec' only affects
>local drives (and the ability to set user/group ids correctly, so you
>still need that set).  Also make sure your /etc/passwd and /etc/group are
>up to date.  I've found that I actually had to create a fake group in
>/etc/group and set it as my primary to be able to access a Samba share
>mapped from DFS on AIX.  *sigh*
>
Never said I was using Samba. Why did you assume that? /us is a mount of 
//<server>/<share> but <server> is a Windows 2000 Server box. There is 
no Samba involved.

Yes my passwd and group files are up to date (they are symlinks to 
global passwd and group files that I maintain).

>>Next idea?
>>
>>P.S. It would still be nice if somebody who really knew the algorithm
>>could explain Windows permissions and how they are mapped to Unix mode bits!
>>    
>>
>
>I believe <http://cygwin.com/cygwin-ug-net/ntsec.html#NTSEC-FILES> does an
>adequate job of this...
>	Igor
>  
>
In the Permission Entry dialog box (under Security: Advanced) I see 
things like Read Attributes, Read Extended Attributes, Take Ownership. 
What do these relate to WRT Unix permissions?

I also see things like "Create Files / Write Data" and "Create Folders / 
Append Data". Now if we equate "Create Files / Write Data" to +w I guess 
that would make sense. However what if I allowed "Create Folders / 
Append Data" but didn't allow "Create Files / Write Data"?!? I would 
think, from a Windows perspective, that I could create a folder or open 
a file for append access yet Cygwin would not show any +w on any of the 
files. It's these sorts of things that still confuse me even after 
reading the above reference.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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