X-Recipient: archive-cygwin@delorie.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=sx+0B112052SUkAJ
	TCRFlks9e/Fs9rtc/bol6ODRQJnF8wB+zsht7+M1nULpeoSoTmnbPuQ451kFq7lQ
	gbgzXxGEdi6dWQ/59J7PRkInhn8S7WYGluz4jM20cR6rlPP9dF37w1LL7nGYG97P
	fISt2Hj3jwr2JT/bHGHWHLQKLW8=
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=Gf/fEgCyvsO7usUXipXOJY
	ur+m8=; b=j+jHEtGGE3OKxrsVZYgN5jlEbse41O+dcOo458Jmibi7btnEMajWKu
	BbiWMXQNcL3e7zk+rp+rysFZ0TQBfO4sDM5pYNFivIZpogHGy8oy12AnnM4cyJrw
	8NGPumBJd67ooF1Kx+9YeupUb5TdN8GmlJP8n3P5CkZvXSgwM2fYs=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=1.2 required=5.0 tests=BAYES_20,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.1 spammy=attack, UD:ru, H*r:smtp, emulated
X-HELO: forward100p.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1577018102;	bh=XpRtxr+8hqK8wgn7HPS/qq1E1YmuBXfIRiSAM9QX57E=;	h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date;	b=bglK5muEMEl+x/teRVE3EthclEUWDHoCpodyEX0jbkheV4ZzpSpewd7g6AGEZyzLb	 VfctdOPNwmOtbiGBxAcOaFLahaVHw6oUhE1Sv5j5uNdyImrtVDFYnuxdGio7ERsx6o	 c6gb21n0AdTkHbHZC9n0GgI2RvAN9TR6Cx2oNEHA=
Authentication-Results: mxback19j.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Sun, 22 Dec 2019 15:34:27 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <84255768.20191222153427@yandex.ru>
To: Eliot Moss <moss@cs.umass.edu>, cygwin@cygwin.com
Subject: Re: A permissions puzzle
In-Reply-To: <5a63e3e3-6157-e3f4-8bce-e2c671647604@cs.umass.edu>
References: <23ecb190-1382-ed1e-20f2-93b44ddf641f@cs.umass.edu>   <273794590.20191221174843@yandex.ru>  <5a63e3e3-6157-e3f4-8bce-e2c671647604@cs.umass.edu>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

Greetings, Eliot Moss!

>> For things outside Cygwin root, I strongly suggest "noacl" option.

>> Then you won't even need to chown or chmod, except in dire circumstances,
>> where some careless program forcibly set permissions to something like 0750.

> So how would I do that for a removable NTFS drive?

Even more reason not to use emulated POSIX permissions.

> It's not certain what drive letter it will pop up under.

Don't use drive letters, and you will reduce the vector of attack on your
system significantly.

> Of course the drive has a specific label, but I am not sure if/how that can be used ...
> getVolInfo can get it, of course, but this seems beyond the semantics of mount and fstab ...

Drive has specific network path, use it.

> I'm not saying I _need_ to do this; I got things going for now.


-- 
With best regards,
Andrey Repin
Sunday, December 22, 2019 15:32:57

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

