X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6AF68385E01E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=yandex.ru Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=anrdaemon AT yandex DOT ru DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1585325102; bh=+T8k7Y/n6T5+ZTd5ubzsZjVH0tR7vAyAYHWmp3rx/zQ=; h=In-Reply-To:Subject:To:Reply-To:From:Message-ID:References:Date; b=X2gviUK2WiV4lRysXh7lP5YCqHEaePslTT/bjE1iO5AcGxAQGIiRX+YDlPFqboYrY vPif6r3uLp+r+nTPKzt6EMAv0JX6bYU/iEimXje1gItCIi+DKPLO3CyijdNEMGZjE3 V74OQpNqwjj3F7jnxtybZfWskcfCrBh82K1lTYKc= Authentication-Results: mxback8o.mail.yandex.net; dkim=pass header.i=@yandex.ru Date: Fri, 27 Mar 2020 19:00:12 +0300 From: Andrey Repin X-Mailer: The Bat! (v6.8.8) Home X-Priority: 3 (Normal) Message-ID: <1627868663.20200327190012@yandex.ru> To: Kacper Michajlow , cygwin AT cygwin DOT com Subject: Re: ACL: Why SYSTEM doesn't have full access set on newly created files? In-Reply-To: References: <459837604 DOT 20200327125155 AT yandex DOT ru> MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_THEBAT, 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-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: cygwin AT cygwin DOT com Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" Greetings, Kacper Michajlow! >> It is easily fixable by mounting directories outside Cygwin tree with >> "noacl" flag. >> It is even required to do so, if you expect interoperation between Cygwin >> and native tools. > Indeed, this is acceptable workaround for me. Then again it is not really > interoperable out of the box, even tho it may looks like. Interoperabily with native tools was never a stated goal of Cygwin project. Although it is trying to comply where possible. > I mean all Windows drives are mounted, you can easily jump through all > directories, mess with them until you find that it doesn't work and it is " > required" to access those files differently. One may be fooled by the > seemingly no boundary between Cygwin and Windows. I can agree that default /cygdrive mount options needs a revision. >> Don't do that on Cygwin directory tree, you break Cygwin doing this. > I was talking about project cloned outside Cygwin tree, by using Cygwin's > git. I do understand that Cygwin sysroot is it's own thing. > Also the Cygwin tree have let say "normal" permissions set. I mean there is > not deny on SYSTEM and so on. >> Answered multiple time in the last 20 years. Read the docs. > If it were so easy to find. And it was changed like 5 years ago how ACLs > are handled, so I really doubt it was described 20 years ago. I just wanted > to understand why SYSTEM described in Cygwin's docs as "A special account > which has all kinds of dangerous rights, sort of an uber-root account." > have those rights limited. If you find documentation incorrect or unclear, please ask any questions you have or suggest patches. >> They are in correct order. Just not canonical order, which Explorer only >> supports. > I was not implying they are in incorrect order... The question was, could > Cygwin apart from having permissions in correct order, have them in > Explorer compatible order also? As I said, if you fix /cygdrive mount options to include noacl flag, permissions control will be deferred to operating system. This will amend some of the interoperability issues. -- With best regards, Andrey Repin Friday, March 27, 2020 18:19:43 Sorry for my terrible english... -- 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