This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Shares with strange ACL settings


Marco, please see below in terms of L3 cache info.  Thanks,

On Aug 14 10:56, Achim Gratz wrote:
> Corinna Vinschen <corinna-cygwin <at> cygwin.com> writes:
> > I checked in the change we were talking about.  Please give the latest
> > snapshot from https://cygwin.com/snapshots/ a try.
> 
> I've had a quick look and things look good.  I'll have to roll out the
> snapshot to our server and revert the script changes, but it seems like this
> should solve the problems I've had (and that forced noacl mounts in most
> cases -- I've kept additional mounts without noacl for testing purposes that
> will now come in handy).

Cool, thanks for your quick feedback.

We should just be aware that this is ultimately a kludge.  I think I now
finally understand what would have to be done to get a generic solution
which results in correct POSIX permission evaluation for any current
user and any file ACL.  However, from some preliminary testing it seems
the generic solution has at least two downsides:

- It's slow (AuthZ code, setting up and breaking down user/group contexts
  for each checked file...)

- It would always contact the AD when trying to fetch info for AD users,
  which is bad for remote machines not or slowly connected to the AD server.

Anyway, this isn't pressing so it would be nice if you keep on testing.
I'm planning to update to 2.2.1 only after a certain pipe problem just
discussed on the #cygwin IRC channel is either fixed or settled any
other way, 

Btw., can you please also check /proc/cpuinfo?

As discussed, Cygwin's emulation fell short on L3 cache info.  I now
added code to fetch L3 cache info as well as correct processor topology
information on Intel CPUs.  For AMD CPUs the topology and cache
info was already fine.  Linux does not show L3 cache info for AMD CPUs
afaics, so I also didn't add that to Cygwin.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

Attachment: pgp8JQEwB8WwG.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]