public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Permissions need reordering and are strange
@ 2017-02-25 19:46 lostbits via cygwin
  2017-02-26  1:20 ` Andrey Repin
  0 siblings, 1 reply; 2+ messages in thread
From: lostbits via cygwin @ 2017-02-25 19:46 UTC (permalink / raw)
  To: cygwin

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?

I just copied a file that had 'rwxrwxrwx+' for its permissions to a new 
directory. The permissions were changed to '---Srws--T+'. Is this an 
error? What is going on?

thanks


--
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

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

* Re: Permissions need reordering and are strange
  2017-02-25 19:46 Permissions need reordering and are strange lostbits via cygwin
@ 2017-02-26  1:20 ` Andrey Repin
  0 siblings, 0 replies; 2+ messages in thread
From: Andrey Repin @ 2017-02-26  1:20 UTC (permalink / raw)
  To: lostbits, cygwin

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

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

end of thread, other threads:[~2017-02-26  1:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-25 19:46 Permissions need reordering and are strange lostbits via cygwin
2017-02-26  1:20 ` 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).