delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/14/13:38:10

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 55F883840C3D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1605379047;
bh=IkGYS9POKt0Qi8SUMLBZSRfSxRvr1Q2kpFWm7NX7z4E=;
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=XfUYEIuJ9RV8fcG5fBl9liqv1cSZYxQd3xpjlyygh6NHu6mC0/i5JfBHBMnlr00ES
LTTt7ixUY5dGjD7vTrYjgXR9rmETzLHpTrkcqblrC2A2pCvWdVtuF403u/3it+azRu
1/dmES59D346dMLeSOQygRPqzJJpfkzz7NBayLaw=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 9D690385781B
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=EMlDXAzJBYUOeh8FsKqH4J+Gk+p5dFXizU6gm9CLmIA=;
b=o6XGICSxak1Q/Doq1QXQVqSzbefNqGenowP7xM65++oo0e9peUNtvrKj4ujQz+bt3X
kmsFJuoL0QluEexDYbX3WaONi7nhject071mGaqFj+ABM+/z5jqf9myWUk/AS95Q+NlK
IyYCkqFX7W5F3moM6a0/2NmsFQrKji5ahi0cg3Hh+ALaCBbzVEXf0UpyIcB3tEq5Qdeo
KekGwzLRMUPeFvnhf70cijlmdL8rluJKLRyjvT6xIMD71gsE8vwFatCoum1nMl+HqpFg
n+rjYtTiQ6g9ExKfs60upyLeWsnLoHERuucDK+wXMHcQe2gNhM+7PWXM/kKzHB3BGayc
DkAw==
X-Gm-Message-State: AOAM531PKlK66ferRZm/dNi6/2ce9tsn2TjufaxIHa8I7CGkAeX5dXc0
V+tHEBPz5hHLvGoGQbYuN6/y7k1LzpbJZzpvGOFhw+aT
X-Google-Smtp-Source: ABdhPJxspZJ328eU/8eUHHL+VEMqBInowfSs1YpTX+TVJJkuiwC9OFM2dZuSHplbWfVqKkodiQaVLTHps1jOi5t9KTY=
X-Received: by 2002:a67:3394:: with SMTP id z142mr5041369vsz.10.1605379043891;
Sat, 14 Nov 2020 10:37:23 -0800 (PST)
MIME-Version: 1.0
References: <CAEMWCRvXcD+5WSB0YKD0sPmHxxyvF5_goA7VyoihuMu7EqsXJw AT mail DOT gmail DOT com>
In-Reply-To: <CAEMWCRvXcD+5WSB0YKD0sPmHxxyvF5_goA7VyoihuMu7EqsXJw@mail.gmail.com>
Date: Sat, 14 Nov 2020 13:37:15 -0500
Message-ID: <CAEMWCRv8QTjp3Wrw5oobW-JT4gi71U5kdAx0xf=sMWuyKug5=Q@mail.gmail.com>
Subject: Fwd: Switching to posix with no acl
To: Cygwin <cygwin AT cygwin DOT com>
X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, HTML_MESSAGE,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham 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 <cygwin.cygwin.com>
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: Jim McNamara via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Jim McNamara <nefariousscheme AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

---------- Forwarded message ---------
From: Jim McNamara <nefariousscheme AT gmail DOT com>
Date: Sat, Nov 14, 2020, 12:57 AM
Subject: Switching to posix with no acl
To: Cygwin <cygwin AT cygwin DOT com>


Hi all

Since there are no adduser or addgroup, I guess I'd create those files
manually off /etc.

Then I'd run passwd.

After that put in /etc/fstab

none /cygdrive cygdrive binary, posix=0, noacl, user 0 0

Close all processes.

That would give me a posix permission set up, right?

I read something about windows ignoring some dos bit with a file permission
but that is outside of cygwin...right?

Lastly, with acl you open an administrator cmd shell. With posix can I
escalate to root and stay away from admin cmd shell?

Is anyone else using posfix setup in general or mostly acl?

Thanks for any help!
Roboloki

Sat. Nov. 14 1:35 pm

Hi all-

I found in the manual about the execute bit permission being ignored in
filesystems with acl. That answered one question above. I can just take
advantage of how exe heuristics work.

If I find myself in a position where it needs administrator rights via a
shell, will it interfere with my posix permissions, users, or groups once
the /etc/groups and /etc/password and fstab are already setup

Did the fstab entry above look okay for posix permission?

Thanks for any assistance !
Roboloki
--
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