Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 Subject: Re: Question about "rexec" Date: Tue, 27 May 2003 15:53:25 -0700 Lines: 55 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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: Igor Pechtchanski wrote: >>> Or you could just look at the FAQ: >>> >>>Why doesn't chmod work? >>> >>> >>> >>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 ///). >> >> > >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 /// but 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 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/