From: "Houder" <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Correct? (Cygwin 2.0)
Date: Sat, 11 Apr 2015 13:25:00 -0000 [thread overview]
Message-ID: <e0dc59a93e73f1f16999723c13dc1d85.squirrel@webmail.xs4all.nl> (raw)
Hi Corinna,
Reference: https://cygwin.com/ml/cygwin/2015-04/msg00201.html
- [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1
Sorry, Corinna, but I have to ask: will this be the correct behaviour of Cygwin
from now on? ... because I am very much surprised ...
Is there anything I can do (settings directory?) ... to "improve" on what I am
experiencing now?
I create a file (called aap), do not modify its properties (chmod), and then it
turns out that the properties have changed ... Surprise!
Regards,
Henri
- reinstalled Cygwin, selected Cygwin 2.0
- using an UNelevated bash shell
- touch aap
- chmod -x aap # afterwards the write-bit turns out to be set for group None!
- chmod -w aap # does not help! (no modification)
%% uname -a
CYGWIN_NT-6.1-WOW Seven 2.0.0(0.287/5/3) 2015-04-10 20:51 i686 Cygwin
%% umask
0022
%% pwd
/home/Henri
%% icacls.sh .
E:/Cygwin-test/home/Henri/
NULL SID (DENY)(Rc,S,REA,X,DC)
Seven\Henri (F)
Seven\None (RX)
Everyone (RX)
NULL SID (OI)(CI)(IO)(DENY)(Rc,S,REA,X,DC)
CREATOR OWNER (OI)(CI)(IO)(F)
CREATOR GROUP (OI)(CI)(IO)(RX)
Everyone (OI)(CI)(IO)(RX)
Successfully processed 1 files; Failed processing 0 files
#
%% touch aap
%% ls -l aap
-rw-r--r-- 1 Henri None 0 Apr 11 14:36 aap
%% icacls.sh aap
E:/Cygwin-test/home/Henri/aap
NULL SID (DENY)(Rc,S,X,DC)
Seven\Henri (R,W,D,WDAC,WO)
Seven\None (DENY)(S,X)
Seven\None (RX)
Everyone (R)
Successfully processed 1 files; Failed processing 0 files
%% ls-facl.sh aap
Owner: Seven\Henri
Group: Seven\None
DACL(protected):
NULL SID FILE_TRAVERSE+FILE_DELETE_CHILD+READ_CONTROL
deny no_inheritance
Seven\Henri write+read+WRITE_OWNER+WRITE_DAC+DELETE
allow no_inheritance
Seven\None FILE_TRAVERSE deny no_inheritance
Seven\None read_execute allow no_inheritance
Everyone read allow no_inheritance
SetACL finished successfully.
#
%% chmod -x aap
%% ls -l aap
-rw-rw-r-- 1 Henri None 0 Apr 11 14:36 aap # Huh?
%% icacls.sh aap
E:/Cygwin-test/home/Henri/aap
NULL SID (DENY)(Rc,S,WEA,X,DC) # extended write attributes?
Seven\Henri (R,W,D,WDAC,WO)
Seven\None (DENY)(S,X)
Seven\None (RX)
Everyone (R)
Successfully processed 1 files; Failed processing 0 files
%% ls-facl.sh aap
E:/Cygwin-test/home/Henri/aap
Owner: Seven\Henri
Group: Seven\None
DACL(protected):
NULL SID FILE_WRITE_EA+FILE_TRAVERSE+FILE_DELETE_CHILD+READ_CONTROL
deny no_inheritance
Seven\Henri write+read+WRITE_OWNER+WRITE_DAC+DELETE
allow no_inheritance
Seven\None FILE_TRAVERSE deny no_inheritance
Seven\None read_execute allow no_inheritance
Everyone read allow no_inheritance
SetACL finished successfully.
#
%% chmod g-w aap
%% icacls.sh aap
E:/Cygwin-test/home/Henri/aap
NULL SID (DENY)(Rc,S,WEA,X,DC)
Seven\Henri (R,W,D,WDAC,WO)
Seven\None (DENY)(S,X)
Seven\None (RX)
Everyone (R)
Successfully processed 1 files; Failed processing 0 files
%% ls-facl.sh aap
E:/Cygwin-test/home/Henri/aap
Owner: Seven\Henri
Group: Seven\None
DACL(protected):
NULL SID FILE_WRITE_EA+FILE_TRAVERSE+FILE_DELETE_CHILD+READ_CONTROL
deny no_inheritance
Seven\Henri write+read+WRITE_OWNER+WRITE_DAC+DELETE
allow no_inheritance
Seven\None FILE_TRAVERSE deny no_inheritance
Seven\None read_execute allow no_inheritance
Everyone read allow no_inheritance
SetACL finished successfully.
=====
--
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
next reply other threads:[~2015-04-11 13:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-11 13:25 Houder [this message]
2015-04-11 14:52 ` [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-1 Corinna Vinschen
2015-04-11 16:47 ` Houder
2015-04-11 17:28 ` Achim Gratz
2015-04-12 7:54 ` Houder
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=e0dc59a93e73f1f16999723c13dc1d85.squirrel@webmail.xs4all.nl \
--to=houder@xs4all.nl \
--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).