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:reply-to:to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=v62xzavYTMJOn9cuv/r7HtQyZW2zPfOoxwEUm76V9DrVpsCiLvYeq /udMW83OJlas1FZR8Tovx+AWrSAYN6Y2SjBLGzO2MPF4aQ/ssEOQWv9JCCHpWBgC U61W0JqCcQEanScR4dHr5B1VmI8U4xV1z03eX9vRUhZ0Cjmo5ACqVU= 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:reply-to:to:from:subject:message-id:date :mime-version:content-type:content-transfer-encoding; s=default; bh=BNP2zAz8XlCdmITJ3yHKwTlYTkY=; b=jAzv9JzmwIEsJtkerV6Krm6H886d BiQY/bWs572n2Ni78F5Uixg9S/FOt108STZ8q6CcUEyhAgVciKPkr+orktm8y3pg PZeK7vNOWnns0PJkr3/YevAEirAYyhiLry+XzShrdwD3l0zwcVuIsnZQEWWWETqQ 3CeSjlPHKcPSeFE= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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.4 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.1 spammy=_do_, Everyone, rx, SYSTEM X-HELO: mailsrv.cs.umass.edu Reply-To: moss AT cs DOT umass DOT edu To: cygwin From: Eliot Moss Subject: A permissions puzzle Message-ID: <23ecb190-1382-ed1e-20f2-93b44ddf641f@cs.umass.edu> Date: Fri, 20 Dec 2019 21:45:04 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Dear cygwiners -- For a long time I _had_ things working, but somehow in switching over to using cygwin64 as primary, I messed up permissions on the directories where a backup program (EaseUS) puts things. I made the permissions similar to elsewhere in by cygwin hierarchy, but I still cannot chown, chgrp, or chmod files created by the backup tool - but doing so used to work! Here is icacls on one of the files: icacls System_20191220_Inc_v1.pbd System_20191220_Inc_v1.pbd NULL SID:(I)(DENY)(Rc,S,WD,REA,WEA,X,DC) BUILTIN\Administrators:(I)(F) EM-SURFACE-2018\Cygwin:(I)(RX,W,DC) NT AUTHORITY\SYSTEM:(I)(RX) Everyone:(I)(RX) Note that I am an administrator and in in Cygwin (at least "groups" shows Cygwin). Here is icacls on the containing directory, which has been "cygwin-ized": icacls . . NULL SID:(DENY)(Rc,S,WD,REA,WEA,X,DC) EM-SURFACE-2018\moss:(F) EM-SURFACE-2018\Cygwin:(RX,W,DC) BUILTIN\Administrators:(RX,W,DC) Everyone:(RX) NULL SID:(OI)(CI)(IO)(DENY)(Rc,S,WD,REA,WEA,X,DC) CREATOR OWNER:(OI)(CI)(IO)(F) EM-SURFACE-2018\Cygwin:(OI)(CI)(IO)(RX,W,DC) NT AUTHORITY\SYSTEM:(OI)(CI)(IO)(RX) BUILTIN\Administrators:(OI)(CI)(IO)(RX,W,DC) Everyone:(OI)(CI)(IO)(RX) And getfacl on the same: # file: . # owner: moss # group: Cygwin # flags: -s- user::rwx group::rwx group:Administrators:rwx mask::rwx other::r-x default:user::rwx default:group::rwx default:group:SYSTEM:r-x default:group:Administrators:rwx default:mask::rwx default:other::r-x So ... why can't I chown, etc., the pbd file, and what needs to change for me to be able to do so? (I _do_ mostly understand this stuff, but maybe I'm just too tired and just can;t see the obvious!) Regards - Eliot -- 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