Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-developers-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com Message-ID: <3B64F567.6060304@ece.gatech.edu> Date: Mon, 30 Jul 2001 01:49:27 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713 X-Accept-Language: en-us MIME-Version: 1.0 To: cygwin-developers AT sources DOT redhat DOT com Subject: Re: Problems with autoconf-2.52 testsuite using current CVS Cygwin References: <996329431 DOT 27668 DOT ezmlm AT sources DOT redhat DOT com> <3B63432E DOT 6050309 AT ece DOT gatech DOT edu> <3B649305 DOT 2090302 AT ece DOT gatech DOT edu> <3B64C0A9 DOT 1080700 AT ece DOT gatech DOT edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Charles Wilson wrote: > > Changes by: corinna AT sources DOT redhat DOT com 2001-07-09 02:02:42 > Modified files: > winsup/cygwin : ChangeLog security.cc > Log message: > * security.cc (alloc_sd): Don't set inheritance attribute for > permissions given to directories. > Well, this is definitely the culprit; this change plus W2K/NTFS. I don't get the problematic behavior on NT/NTFS. However, I know that Corinna put this in for a reason -- but I don't remember what it was. :-( Anyway, check this out (under cygwin1-20010728.dll): $ cd /tmp $ mkdir a $ getfacl a # file: a # owner: 1000 # group: 513 user::rwx user:500:rwx group::rwx group:544:rwx group:545:rwx mask::rwx other::r-x default:user:500:rwx default:group:544:rwx default:group:545:rwx default:mask::--- $ cd a $ mkdir b $ getfacl b # file: b # owner: 1000 # group: 513 user::--- user:500:rwx group::--- group:544:rwx group:545:rwx mask::--- other::--- default:user:500:rwx default:group:544:rwx default:group:545:rwx default:mask::--- $ touch c $ getfacl c # file: c # owner: 1000 # group: 513 user::--- user:500:rwx group::--- group:544:rwx group:545:rwx mask::--- other::--- I'm not sure if the answer is to revert Corinna's patch, or to add more logic to the file/directory creation logic. Any comments? --Chuck