X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 214CE3857C7A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1629786016;
	bh=J20Pun4Nmh1/drwpSmn/m/bq95hx8QWkemvhAS7l0d8=;
	h=Subject:References:To:Date:In-Reply-To:List-Id:List-Unsubscribe:
	 List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
	 From;
	b=DmqGrIbFe8KTvIN+1ww6JB6nUFyKHnbHONP6BGfhvNbqbvkFhcUex9wf8A+xQJsyZ
	 xned8P6VXFZ/a1NxJ9hCJXmVU+o6XLzutpO24OJHn6B8ZFjP12cNHhJAeOJuh6nBaU
	 sDxIxx3/luGhSz4wwDp265rShNxavIJ93fj27Cw0=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 45C963858C2C
X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c
Subject: Re: objects created in a dir w/cygwin mangled perms; inherit no-access
References: <60E14AAA.4000404@tlinx.org> <514405575.20210704172015@yandex.ru>
 <60E460C7.7010203@tlinx.org> <685980612.20210707214357@yandex.ru>
 <60EFDD84.8040401@tlinx.org>
 <c6b5c350-18ba-f772-5284-2a27a84846d9@gmx.com>
 <6123F79C.5030809@tlinx.org>
To: cygwin@cygwin.com
Message-ID: <55097e53-ceed-f4b8-dbec-c6c9ab9570c8@gmx.com>
Date: Tue, 24 Aug 2021 07:19:42 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.13.0
MIME-Version: 1.0
In-Reply-To: <6123F79C.5030809@tlinx.org>
Content-Language: en-GB
X-Provags-ID: V03:K1:Shp9h2XuXUQS0GtpUEOo6tB/A7tvbgpf81U1f7LywpH4tyUcw+6
 4GOgk2ycCpGKb9hw/LKSy9vN9Xlrlt+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GXIz/JxmEubzv8
 5vJs9OSKZ6scUh0s9wJI+hlzIsfIeC2inozc+QrVooSbHUyOoiHcFvXPBGjtjiOfLknnTey3d
 X+LXnPXmx//tSZZDppB+H+J4/bFoPp3McMCFfO880D8RCmbuDgGub3S1F045WT79XIJT3TLR1
 OyEYn6vX5S3ldEtvHMtc9RwppHZUWNKUQnz0RSQT5khCpQgb8IWp3c3ctIkNspOvAWsq7GPR7
 h2HDEH9/kSjeeBdH1oSd94njqN5TxKa1XA1xniwkU/Qo2tg2zRfGVnvHA==
X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, BODY_8BITS,
 DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_MSPIKE_H2,
 SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
 server2.sourceware.org
X-BeenThere: cygwin@cygwin.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Sam Edge via Cygwin <cygwin@cygwin.com>
Reply-To: Sam Edge <sam.edge.cygwin@gmx.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces+archive-cygwin=delorie.com@cygwin.com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie.com@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 17O6KIWM025671

On 23/08/2021 20:31, L A Walsh wrote:
 >
 > On 2021/07/15 01:23, Sam Edge via Cygwin wrote:
 >> (By the way, the permission workaround is another good reason for
not installing in system root if advice from the authors of Cygwin -
Corinna et al - isn't enough for you.)
 > ---
 >     Except that at one point, most of the cygwin developers installed
cygwin at '/'.  That you don't know that shows how long you've
 > been using cygwin.

For the record, I've been using Cygwin for twenty years or more. For
that entire period the recommendation has been not to install in C:\ or
the root of any other drive. (I've been using UNIX since 1983 by the way
and Windows since version 3.0 not that it makes any difference to the
discussion.)

 >     I have other reasons for my setup.  My windows system has most
 > of my files on a remote, linux system.

Which can be accessed using //host/path (using S4NFS or SMB) or via
Cygwin fstab mounts regardless of where Cygwin is installed locally.

 > When I'm using the linux
 > shell, for example, I can bring up explorer for the directory I'm
 > in by typing 'explore [opt. path]'.  My Doc dir, among others is the
 > same on Windows as on Linux ~/Documents or /d/.  If I'm running
 > a prog on linux, and it asks for a browser, it launches my browser
 > on Windows.

You're not using a Linux shell. You're using a POSIX-like shell compiled
for Cygwin. It's different. For example '//path' on Cygwin accesses
remote filesystems whereas on Linux it doesn't.

If you're running a program on Linux it'll launch whatever it is
configured to launch.

If you're running a Cygwin program it'll do the same, which with
appropriate use of cygpath can launch Windows Explorer (explorer.exe) or
your browser. For example my EDITOR variable launches Notepad++ and 'git
difftool' launches Windows native KDiff3 and they work for any Cygwin
path not just my C drive, converting to Windows when assembling the
command line to pass to the native applications.

I think Andrey covered the rest of your arguments fairly comprehensively.

--
Sam Edge

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

