public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.4.0-0.4
Date: Thu, 26 Nov 2015 13:24:00 -0000	[thread overview]
Message-ID: <20151126131633.GL2755@calimero.vinschen.de> (raw)
In-Reply-To: <CABPLASTKt3uKcAbeLNjVa89wrWi_LO6MnPD0Fd=T0FxJG0r5mA@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1412 bytes --]

Hi Kacper,

On Nov 23 19:09, Kacper Michajlow wrote:
> 2015-11-21 17:24 GMT+01:00 Corinna Vinschen <corinna-cygwin@cygwin.com>:
> > Hi Cygwin friends and users,
> >
> >
> > I released a new TEST version of Cygwin, 2.4.0-0.4.
> >
> 
> With this version I get permissions denied when trying to chmod a
> folder created in a created folder...
> 
> Basically this doesn't work for me:
> mkdir test
> mkdir test/test
> chmod 755 test/test

I need to see the ACLs of the parent dir of test, the ACL of test and
the ACL of test/test via the icacls command, before calling chmod.

> Additional top level directory after creating have drwx---r-x, and
> even after chmod 777, it still have only drwx---rwx. Notice no group
> permissions? I might be missing something here, but doesn't look
> right, does it?

It is right if you're using one of those annoying Microsoft accounts
instead of a real local account.  If so, the primary group SID in your
user token is identical to your user SID.  This scenario can't be
easily translated to a POSIX scenario.  The group permissions are set
to 0 in this case to allow security sensitive applications checking file
permissions to function without complaining of too open permissions.


Corinna

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2015-11-26 13:16 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-21 16:40 Corinna Vinschen
2015-11-23 18:09 ` Kacper Michajlow
2015-11-24  4:19   ` Andrey Repin
2015-11-26 13:24   ` Corinna Vinschen [this message]
2015-11-27 19:15     ` Kacper Michajlow
2015-11-27 19:24       ` Kacper Michajlow
2015-11-28 15:55         ` Corinna Vinschen
2015-11-28 23:20           ` Kacper Michajlow
2015-11-29  2:47             ` Andrey Repin
2015-11-29 14:01               ` Corinna Vinschen
2015-11-29 16:37                 ` Kacper Michajlow
2015-11-29 18:23                   ` Corinna Vinschen
2015-11-29 20:29                     ` Corinna Vinschen
2015-11-30 10:02                       ` Kacper Michajlow
2015-11-30 16:02                         ` Corinna Vinschen

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=20151126131633.GL2755@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --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).