X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AF31B384B061 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1603494762; bh=j7GBWnixgg5qx9m5PK3uIBTLYYtQuRUAVf1SvmNRGkY=; h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=llAea4ULNV2ncgjFD0ePGxwxgT0bN1z940v/ZODoEDkoernh++a4ETklrDsADVYVP 3R6nsvCsJSGKK/9Ba7SOHcygD8NarIYOQRDXkmFBzDG2MoP8mCcp+/kzHSQEj2QX6n gS6d89yjYt+DAduRUGrTZx0pFi5MszK1RR3pQZk4= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2C2E03857C6F X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=O3Uzo1PI0xTkoBdoXN6n559/w/v0ng+RpYDwbKB+KIM=; b=r4RMa3MdJ9EpYafYtI7MN7lLIVgDpOiV5JQBAdjD6R3wOGAD8NRf9DBSLcT9yt1rZE RtNQLQ0AnfcElg0F8Rq14yqMy6JBnFSCv5VDg2Fuy8kXX8MdeYV+kRK68yvpdcq67Tpc QTQ2/dQIYxzUNjJMm5a17+ngddmb4l+vJeZB27t7iO3GShhSj6i02/W49x4Ue2uZZkjb 2vAWMz7tFbD0sRsSXfTBTgaeur5znbyc8seoh7yuVOTcw+MisKgpKD5s0jEpQFjGUGvT a1+8YwsFoRWGlOyELg/wE47NSy0Yii+d0z1V1RxfzcwKwx9KKL3cObYqTqXmRcUqIOe8 PMPg== X-Gm-Message-State: AOAM531pVcq83HEEAdCb+YOikARLGCkkmnUDJbFayD/GyBC9oGUOirx1 z/pwIYZ8Ppf8D8wYu/t1hTx5otIuMEha2yu2FuXLT20z X-Google-Smtp-Source: ABdhPJwgsi895xJPQKiZvduNDms6x0VsshGEH9/pSxB/QgHl/rOLtF+rK0H+1r0LHcLe/+nxYWm9tynxyyKSHB399/Q= X-Received: by 2002:a67:3397:: with SMTP id z145mr1909165vsz.10.1603494758450; Fri, 23 Oct 2020 16:12:38 -0700 (PDT) MIME-Version: 1.0 References: <3f0e071c-66c7-b6e8-f907-40a333872d07 AT SystematicSw DOT ab DOT ca> In-Reply-To: Date: Fri, 23 Oct 2020 19:12:26 -0400 Message-ID: Subject: Re: Objects in ACL cygwin win 10 To: Cygwin X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE, KAM_LINEPADDING, KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Jim McNamara via Cygwin Reply-To: Jim McNamara Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "Cygwin" Hi all I think I figured out that the processes that the ACL object/identifier 'system' is referring to are like processes in sysinternals process explorer . Not sure but that is my best guess. If all else fails, I will chmod the hell out of everything until I beat stat command into submission. I will also be experimenting with your list of commands! Have a cool weekend. Thanks again for your help, Brian. Later On Fri, Oct 23, 2020, 6:41 PM Jim McNamara wrote: > In more descriptive terms, an access control list is a list that > determines which system processes or users are granted access to an object > as well as what operations are permitted on the object. > > I tried to refer to the object 'system '. There are other objects like > administrator, administrators, user, and everyone. > > Sorry, I tried to initially save keystrokes because I was typing on a > phone keyboard. Bad idea. > > Just wondering, for home users, that aren't using domains, with ACLs, > what type of objects are listed when you right click on a text file and > choose properties and security in the windows 10 file explorer from within > your cygwin install. > > I ask partially because with ACL as context, I cannot find a good example > of 'system' object and what it is used for. I figure it must be either > complicated or the opposite which is well understood . > > If you dont answer, I'm only frustrated with myself. > > Thanks for your help. > > Sorry Brian, > > Thanks, > Roboloki > > > > > > > > > On Fri, Oct 23, 2020, 5:31 PM Brian Inglis < > Brian DOT Inglis AT systematicsw DOT ab DOT ca> wrote: > >> On 2020-10-23 14:02, Jim McNamara via Cygwin wrote: >> > I have : group everyone and my user sid as my ACLs with their >> permissions >> > in cygwin. I use chmod to set permissions and dont use fstab. >> > >> > Can someone please check by right clicking properties security tab in >> win >> > 10 and verify that is all I need? >> > >> > I'm not using any domains. >> > >> > I'm not sure if I need system object that is used for OS things. I dont >> > think so but am not sure. >> >> Not sure what you are asking about, but if you run >> >> $ ls -dl dir; getfacl dir; icacls dir >> $ ls -dl dir/file; getfacl dir/file; icacls dir/file >> >> you can see how POSIX perms get translated into POSIX ACLs and >> implemented as >> Windows ACLs. >> >> If anything appears complex or inconsistent, try running setfacl -b on >> dirs or >> files then reapply chmod perms and recheck with the above. >> >> -- >> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada >> >> This email may be disturbing to some readers as it contains >> too much technical detail. Reader discretion is advised. >> [Data in binary units and prefixes, physical quantities in SI.] >> -- >> 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 >> > -- 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