delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/12/22/07:36:07

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=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 AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
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 AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <84255768.20191222153427@yandex.ru>
To: Eliot Moss <moss AT cs DOT umass DOT edu>, cygwin AT cygwin DOT com
Subject: Re: A permissions puzzle
In-Reply-To: <5a63e3e3-6157-e3f4-8bce-e2c671647604@cs.umass.edu>
References: <23ecb190-1382-ed1e-20f2-93b44ddf641f AT cs DOT umass DOT edu> <273794590 DOT 20191221174843 AT yandex DOT ru> <5a63e3e3-6157-e3f4-8bce-e2c671647604 AT cs DOT umass DOT edu>
MIME-Version: 1.0
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019