Web lists-archives.com

Re: Permissions need reordering and are strange




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