From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: cygwin@cygwin.com
Subject: Re: CRITICAL ls MEMORY LEAK
Date: Mon, 22 Feb 2021 16:47:02 -0700 [thread overview]
Message-ID: <1ca42c00-db0a-4999-11e1-a82828a5e074@SystematicSw.ab.ca> (raw)
In-Reply-To: <e4540cda-2874-71e4-fc56-9a53a7d8e5ee@t-online.de>
On 2021-02-22 14:50, Hans-Bernhard Bröker wrote:
> Am 22.02.2021 um 21:30 schrieb Brian Inglis:
>
>> I've often wondered if the heavy activity is due to Windows' defaults to
>> writing files with F+RX perms which triggers executable virus scans?
>
> That could only be the case if Windows actually had an 'x' permission bit.
Strictly speaking, I am not sure if *Unix* has an 'x' permission bit, but most
filesystems do provide such a facility (V/FAT e.g. some /boot/ do not), as do
POSIX/Solaris ACLs, and Windows NTFS, whose ACLs have execute permissions:
$ icacls /? | egrep exec\|X
RX - read and execute access
GE - generic execute
X - execute/traverse
GE grants FILE_EXECUTE and STANDARD_RIGHTS_EXECUTE access rights.
Access Mask Format:
|31|30|29|28|27|26|25|24|23|22|21|20|19|18|17|16|15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0|
|GR|GW|GE|GA|27|26|25|AS|23|22|21|20|19|18|17|16|15|14|13|12|11|10|9|8|7|6|5|4|3|2|1|0|
|..generic..|reserved|..|.......standard........|...........object.specific...........|
GR GENERIC_READ
GW GENERIC_WRITE
GE GENERIC_EXECUTE
GA GENERIC_ALL
AS ACCESS_SYSTEM_SECURITY access Security ACL in object security descriptor
Windows also supports ACLs on system objects, and there may be similar features
on SELinux.
--
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.]
prev parent reply other threads:[~2021-02-22 23:47 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-21 15:18 neal.garrett
2021-02-21 18:05 ` Brian Inglis
2021-02-22 20:12 ` Doug Henderson
2021-02-22 20:30 ` Brian Inglis
2021-02-22 21:50 ` Hans-Bernhard Bröker
2021-02-22 23:47 ` Brian Inglis [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1ca42c00-db0a-4999-11e1-a82828a5e074@SystematicSw.ab.ca \
--to=brian.inglis@systematicsw.ab.ca \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).