Correct? (Cygwin 2.0)

Houder houder@xs4all.nl
Sat Apr 11 13:25:00 GMT 2015


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


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /