This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3


Hi Corinna,

Perhaps not relevant anymore (since you have returned to the drawing board) ...

 - after installing update 3 to Cygwin 2.0 ...
 - created file while being logged on as user Test; subsequently executed: chmod 460 file
 - switched back to user Henri and attempted to touch file: failed
 - however, using Cygwin 1.7, and repeating the same procedure, I am able to touch the file (called file2)

Regards,

Henri

 = Cygwin 2.0 -- logged on as user Test

%% uname -a
CYGWIN_NT-6.1-WOW Seven 2.0.0(0.287/5/3) 2015-04-12 21:09 i686 Cygwin
%% pwd
/home/Test
%% id
uid=197614(Test) gid=197121(None) groups=197121(None), ... followed by irrelevant j.
545(Users), 4(INTERACTIVE)66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),113(Local
acount),4095(CurrentSession),
66048(LOCAL),262154(NTLM Authentication),401408(Medim Mandatory Level)
%% touch file
%% chmod 460 file
%% echo aha > file
bash: file: Permission denied

%% getfacl file
# file: file
# owner: Test
# group: None
user::r--
group::r-x
mask:rw-
other:---
%% icacls file # note: here I removed all white clobber in the output
file NULL SID:(DENY)(Rc,S,WEA,X,DC)
Seven\Test:(DENY)(S,WD,AD,WEA,DC)
Sven\Test:(R,D,WDAC,WO,WA)                              # yes, should be Seven\Test ... Oh well
Seven\None:(DENY)(S,X)
Seven\None:(RX)
Evryone:(Rc,S,RA)                                       # yes, should be Everyone ... bzzz
Successfully processed 1 files; Failed processing 0 files
%%

 ++ logoff Test, logon Henri

%% pwd
/home/Henri
%% cd ../Test
%% id
uid=197608(Henri) gid=197121(None) groups=197121(None), ... followed by irrelevant j.
197615(HelpLibraryUpdaters),545(Users),4(INTERACTIVE),66049(CONSOLE LOGON),11(Authenticated Users),15(This Organization),
113(Local account),4095(CurrentSession),66048(LOCAL),262154(NTLM Authentication),401408(Medium Mandatory Level)
%% ls -l file
-r--rw---- 1 Test None 0 Apr 13 17:12 file
%% echo ho,ho > file
bash: file: Permission denied                           # Huh? No, no, no ...

%% getfacl file # same output as above
%% icacls file # same output as above

-----

 = Cygwin 1.7 -- logged in as user Test

@@ uname -a
CYGWIN_NT-6.1-WOW Seven 1.7.36(0.287/5/3) 2015-03-17 10:46 i686 Cygwin
@@ pwd
/home/Test
@@ id -a
uid=1006(Test) gid=513(None) groups=513(None),545(Users)
@@ touch file2
@@ chmod 460 file2
@@ ls -l file2
-r--rw---- 1 Test None 0 Apr 13 17:30 file2
@@ echo aha > file2
bash: file2: Permission denied

@@ getfacl file2
# file: file2
# owner: Test
# group: None
user::r--
group::rw-
other:---
@@ icacls file2
file2 Seven\Test:(DENY)(S,WD,AD,WEA)
      Seven\Test:(R,D,WDAC,WO,WA)
      Seven\None:(R,W)
      Everyone:(Rc,S,RA)
Successfully processed 1 files; Failed processing 0 files

 ++ logoff Test, logon Henri

@@ pwd
/home/Henri
@@ id -a
uid=1000(Henri) gid=513(None) groups=513(None),1007(HelpLibraryUpdaters),545(Users)
@@ cd ../Test
@@ ls -l file2
-r--rw---- 1 Test None 0 Apr 13 17:30 file2
@@ echo ho,ho > file2                                   # Yes, that is Unixy

@@ getfacl file2 # same output as above
@@ icacls file2 # same output as above

=====


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]