delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/08/24/02:20:18

X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT 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 DOT 4000404 AT tlinx DOT org> <514405575 DOT 20210704172015 AT yandex DOT ru>
<60E460C7 DOT 7010203 AT tlinx DOT org> <685980612 DOT 20210707214357 AT yandex DOT ru>
<60EFDD84 DOT 8040401 AT tlinx DOT org>
<c6b5c350-18ba-f772-5284-2a27a84846d9 AT gmx DOT com>
<6123F79C DOT 5030809 AT tlinx DOT org>
To: cygwin AT cygwin DOT 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>
X-Provags-ID: V03:K1:Shp9h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zS+6QT2k
Vreaa5gSrZaBf8/mZdQjkoAPpxaaIMSflUMV45bkhXIhzeY+1km54afOaGGGXIz/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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Sam Edge via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Sam Edge <sam DOT edge DOT cygwin AT gmx DOT com>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
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

- Raw text -


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