public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Andrey Repin <anrdaemon@yandex.ru>
To: lostbits <home_slipbits@yahoo.com>, cygwin@cygwin.com
Subject: Re: Permissions need reordering and are strange
Date: Sun, 26 Feb 2017 01:20:00 -0000	[thread overview]
Message-ID: <1084564513.20170226041707@yandex.ru> (raw)
In-Reply-To: <c07ae015-ec20-f62e-76a9-165b92e70f5f@yahoo.com>

Greetings, lostbits!

> I think that you have addressed reordered permission message in windows 
> before and have said to not reorder the permissions. But, I seem unable 
> to do security operations without reordering (such as change permissions 
> or ownership using the Windows Explorer). Do I have to use cygwin in 
> Admin mode to do these operations?

You could always use icacls.exe (native security manipulation tool).

> I just copied a file that had 'rwxrwxrwx+' for its permissions to a new 
> directory.

"+" means the file had extra ACL's attached.

> The permissions were changed to '---Srws--T+'. Is this an
> error? What is going on?

This doesn't tell us even half the story without the output of getfacl and
icacls on these files.


P.S.
Another possibility is to not use Cygwin permissions and defer permissions
management to the OS. See "noacl" mount option in documentation.


-- 
With best regards,
Andrey Repin
Sunday, February 26, 2017 04:14:27

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      reply	other threads:[~2017-02-26  1:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-25 19:46 lostbits via cygwin
2017-02-26  1:20 ` Andrey Repin [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=1084564513.20170226041707@yandex.ru \
    --to=anrdaemon@yandex.ru \
    --cc=cygwin@cygwin.com \
    --cc=home_slipbits@yahoo.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).