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=IOnCFa76gabTJpCn
	P95oOLF6DsL44pP+mxiQsdN4ofzDnd1JbXilqHpBTqJC/N/VPBXWQX3nUeTPSbz1
	nOWK4915M6AYpdXR16WNpJ9+2yaydcVx8c3ZZFh8IW9kIUZwnr4Ndue/38tLLULn
	k+Np+/dopUf7bZPGd1Nf+H0Q4MQ=
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=0JMr8Gk2xqJxFJmZLGyKsD
	GIas4=; b=d9wjd4oMRHzvEI591tgIktcinNPZYAuaqNV9mUU4tgF8MjY1R3g+tw
	qS861EumERzmQyFVDoax7HWNDMnjcWd92hZUqG1MfA1HcjCmKdCw1KABy1fnWyPR
	eAObtRdICtLShYinIuzVSJAKPqlS8wQFu27LI7K+p3sBYFniw6w70=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,SPF_SOFTFAIL,UNSUBSCRIBE_BODY autolearn=no version=3.3.2
X-HELO: smtp.ht-systems.ru
Date: Thu, 13 Nov 2014 01:21:19 +0300
From: Andrey Repin <anrdaemon@yandex.ru>
Reply-To: cygwin@cygwin.com
Message-ID: <1822826856.20141113012119@yandex.ru>
To: cyg Simple <cygsimple@gmail.com>, cygwin@cygwin.com
Subject: Re: /usr/local, /var and */tmp in c:\Users\Public
In-Reply-To: <CABa6CEkRV=3FY6ZVGrdt--rH3PppwCJRD5poU0L2knv2k2ce_w@mail.gmail.com>
References: <81578012-FD3F-4463-BC56-ADB092317DD4@etr-usa.com>   <CABa6CEkRV=3FY6ZVGrdt--rH3PppwCJRD5poU0L2knv2k2ce_w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-IsSubscribed: yes
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id sACMZPXM017419

Greetings, cyg Simple!

>> I didn’t want to derail the discussion about the future of /home with this,
>> so I’m starting a new thread.
>>
>> I think it would be an improvement to Cygwin if c:\cygwin contained only
>> things that can be reinstalled from your local setup.exe download cache, in
>> the same way that you can nuke "c:\Program Files\Microsoft Office $version”
>> and reinstall without losing anything you created locally.
>>

> What local changes/installations get lost?

What get lost, if you nuke Cygwin folder in default installation?
Everything. Every single piece you could think about.

>> Further design principles follow from this:
>>
>> - User data should live in directories that those users are normally allowed to write to.
>>
>> - Per-machine software and per-machine configuration should be in directories that local Administrators can normally write to.
>>
>> - Software built from source (/usr/local) should not be in c:\cygwin; it is per-machine configuration, and so should be elsewhere.
>>
>> - If you tighten down what remains so that normal users only get read permission, it should continue to function, in the same way that normal users on a Linux box don’t need write access to, say, /usr/include.
>>
>>
>> This /etc/fstab addition mostly accomplishes that:
>>
>>
>> c:/Users/Public/Cygwin/var         /var         ntfs   auto      0 0
>> c:/Users/Public/Cygwin/usr/local   /usr/local   ntfs   auto      0 0
>>
>> c:/Users/Public/Cygwin/tmp         /tmp         ntfs   notexec   0 0
>> c:/Users/Public/Cygwin/tmp         /usr/tmp     ntfs   notexec   0 0
>> c:/Users/Public/Cygwin/tmp         /var/tmp     ntfs   notexec   0 0
>>
>>
>> I propose that this or something like it be added to the default fstab.
>>

> Please NO not by default or offering an option.  A back end tool maybe
> in cygutils that can be run manually.

Give one good reason, other than impulsive screaming?


--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 13.11.2014, <01:19>

Sorry for my terrible english...

