public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* ACL: Why SYSTEM doesn't have full access set on newly created files?
@ 2020-03-27  2:41 Kacper Michajlow
  2020-03-27  4:32 ` Biswapriyo Nath
  2020-03-27  9:51 ` Andrey Repin
  0 siblings, 2 replies; 5+ messages in thread
From: Kacper Michajlow @ 2020-03-27  2:41 UTC (permalink / raw)
  To: cygwin

Hi,

I know that Cygwin tries to emulate UNIX permissions using ACL. But I don't
understand why SYSTEM doesn't have Full Control allowed or even modify.
Shouldn't generally SYSTEM have access to everything?

I have cloned git repository of UWP application, and deployment fails in VS
with error:
"DEP0700: Registration of the app failed. [0x80070005] Deployment Register
operation with target volume F: on Package ... from:  (AppxManifest.xml)
 failed with error 0x80070005."
It is easily fixable by adding Full Control for SYSTEM on all files, but
that wasn't my first idea, so it took some time :) Long story short, it
fails and might be not obvious for the user why, at the first glance.

Also when accessing ACL from Explorer it throws:
"The permissions on <directory> are incorrectly ordered, which may cause
some entries to be ineffective."
And forces me to reorder them if I want to edit.

That said, I have three questions:
1. Could Cygwin by default give SYSTEM full control? If not, why?
2. Could Cygwin put ACL in order, so Windows doesn't complain about it?
3. Do we need "NULL SID" entry?

-Kacper

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-27 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-27  2:41 ACL: Why SYSTEM doesn't have full access set on newly created files? Kacper Michajlow
2020-03-27  4:32 ` Biswapriyo Nath
2020-03-27  9:51 ` Andrey Repin
2020-03-27 12:56   ` Kacper Michajlow
2020-03-27 16:00     ` Andrey Repin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).