delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/12/13/14:47:20

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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; q=dns; s=default; b=LAesX
NVIXBadz3vAQu3vIrqhK6FAkmM9lBAgqBvyyh92kqU7JOEZBGRCbTe4HoXcjcTd0
9VM8rzVoo8HUZcBdCcv2RQm7degM2RFiMdA6fBRpJzRJZOShEu0LuLzH9gPh89/Y
SB9LEZqKDHTo6qX/0m6TKeU3LVsR2qmWuT30Xk=
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:from:to:subject:references:date:in-reply-to
:message-id:mime-version:content-type; s=default; bh=1B/c51O+0Cp
drSYcTXRR7eu99a0=; b=d41jUjzfV3gVys9THT1zd+XyWyu6MSTa3Kv7f6S8ZVO
famlYuaxxjOJZzvU/7GrhOdASslxmgC0H5JRcv01tAJl3/U6oFbtwOtRsDNfFn81
ktk69RtyIjum1Lp7QiTvdPd5LC6tfJEMSliZ9SrYSg9YEgBl457UIjUFG4hoTZ6o
=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_05,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*f:sk:8177dbd, H*i:sk:8177dbd, UD:nexgo.de, H*RU:mx.arcor.de
X-HELO: mail-in-17.arcor-online.net
X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-14.arcor-online.net 3tdVb03G33z6thY
From: Achim Gratz <Stromeko AT nexgo DOT de>
To: cygwin AT cygwin DOT com
Subject: Re: Editors set x-bit (sometimes)
References: <1481625566 DOT 176738 DOT 817340945 DOT 718D9CF0 AT webmail DOT messagingengine DOT com> <7bbc7866-32f9-1c22-c39e-e7cc92e28222 AT cornell DOT edu> <1481642417 DOT 99199 DOT 817613057 DOT 617EE00F AT webmail DOT messagingengine DOT com> <8177dbde-68ac-df2a-a968-9e41ed7ca0cb AT SystematicSw DOT ab DOT ca>
Date: Tue, 13 Dec 2016 20:46:51 +0100
In-Reply-To: <8177dbde-68ac-df2a-a968-9e41ed7ca0cb@SystematicSw.ab.ca> (Brian Inglis's message of "Tue, 13 Dec 2016 12:02:59 -0700")
Message-ID: <87h967obmc.fsf@Rainer.invalid>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)
MIME-Version: 1.0

Brian Inglis writes:
> Remove DACLs Default ACLs also on directories using: 
> 	setfacl -bk ~/.[!.]* ~/.[!.]*/**/ ~/.[!.]*/**/* \
> 			/???/**/ /???/**/* /sbin/ /sbin/*
> - that takes a while to run, and you may get a few anonymous
> 	setfacl: Permission denied
> messages - paths in the messages would have been nice here!
>
> Be careful *NOT* to hit Windows directories including your Windows 
> home directory, or any other Windows directories, native symlinks, 
> native hardlinks, junctions, or file types such as Windows .lnk, 
> .URL, etc. where Windows may rely on the DACLs, ACLs, and attributes 
> for proper handling.

Which is why you shouldn't use the above, but have find produce a list
of the files to be changed and when you are sure it doesn't contain any
stray things process them either via the -exec + option in find or
piping into xargs (the latter is slightly less efficient and you have to
do -print0/-0, but I tend to get it right more easily then the -exec
stuff.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra

--
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