X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=MiOCRZ8EQ/kPSJ62 IJYr0GG8WE7/U/pT0aE1MFwOdpg+qu0ovSU9QW2wwiK1y0e/+fJdwaf5zkuOnNJR mdBrsip3abZHt/wj5hsDKC2j8CC5lT+YE0Lg/lbMwn2MlWhsUy1CMc84nWpJhtZC gvud75lySuWAFJiXd95chGc+GrE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:date:from:reply-to:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=Gcm+MQHpG1ufmrnnvxDCbV hVna0=; b=WOyk/1R6BE+7vtRUKd8VnM42jtUYfwxWg8eGxQKhvz3Ti4Z6WH3e5c /3mwe/YbSh1lDbWzKorBnkMRJ0fm9OdplJTs/1OgJajo7Asfsv0fgyzDUVHz0wIh 3ZJaCAh9tXgpHlaOsBZDMvmZ0W6HnKKfTDia0nIrcV1L2LXLB2qFo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: 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 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 spammy=H*UA:Bat!, H*x:Bat!, H*r:sk:postmas, H*x:Home X-HELO: smtp.ht-systems.ru Date: Mon, 18 Apr 2016 16:53:56 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1783109831.20160418165356@yandex.ru> To: Eliot Moss , cygwin AT cygwin DOT com Subject: Re: Permissions change concern In-Reply-To: <5714DDA9.3030002@cs.umass.edu> References: <5712F224 DOT 7070308 AT cs DOT umass DOT edu> <20160418101803 DOT GM24565 AT calimero DOT vinschen DOT de> <5714DDA9 DOT 3030002 AT cs DOT umass DOT edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Eliot Moss! > 1) If a directory says: > default:users::rwx > default:group::rwx > default:other:r-x > and my umask is 022 > when I create a new file by "echo test > foo.bar", foo.bar's > perms are 644, not the 755 I would expect. Why? I'm totally expecting 644 on a FILE. +x never set by default for files. > 2) If the directory has g+s set (visible from -s- in the flags shown > by getfacl), the directory's group is Cygwin, and my primary group is moss, > then the file gets created with group moss, not group Cygwin (which is > what g+s is supposed to mean, right?) If "Cygwin" group is part of your token, I would expect Cygwin too, in this case. -- With best regards, Andrey Repin Monday, April 18, 2016 16:51:43 Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple