Mail Archives: cygwin/2015/04/13/12:11:11
X-Recipient: | archive-cygwin AT delorie DOT com
|
DomainKey-Signature: | a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:message-id:date:subject:from:to:mime-version
|
| :content-type:content-transfer-encoding; q=dns; s=default; b=ibV
|
| Hi0rFBbsSsmK2p3DpR7ubIlim8AFJmsrPUuHhwbwsGWmnGHqXblK1dPLq9D3P0v8
|
| AKJnpCItuYf/G7fcMUSupKRGHBWipkV2nsMpqWCnGMgRCmvrVfO91NxEN3CW67pX
|
| vTLYTWg0sJMv2/eaMam3FPZWB9/uftVvlqgDMnHA=
|
DKIM-Signature: | v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
|
| :list-unsubscribe:list-subscribe:list-archive:list-post
|
| :list-help:sender:message-id:date:subject:from:to:mime-version
|
| :content-type:content-transfer-encoding; s=default; bh=Ay4NCEezC
|
| ZyN28O4PbGVcIcdHp4=; b=wqejcaWyotPrh2iUJj/Kvml70wQuq3M0vAvqPVc45
|
| R+X2EOscL5Nf8/b4UiHPzEHtuhC02LdMRfjYAoSxikKuC2lMj5AwfamsrLH2kNJd
|
| XaFwPgEMV7dLcmzBw1oRSqSjX/sQmvh8jPk1ywo7BjRTdF/mUMv0gCg+wA3Rx1y/
|
| x4=
|
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm
|
List-Id: | <cygwin.cygwin.com>
|
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com>
|
List-Archive: | <http://sourceware.org/ml/cygwin/>
|
List-Post: | <mailto:cygwin AT cygwin DOT com>
|
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
|
Sender: | cygwin-owner AT cygwin DOT com
|
Mail-Followup-To: | cygwin AT cygwin DOT com
|
Delivered-To: | mailing list cygwin AT cygwin DOT com
|
Authentication-Results: | sourceware.org; auth=none
|
X-Virus-Found: | No
|
X-Spam-SWARE-Status: | No, score=0.9 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
|
X-HELO: | lb3-smtp-cloud2.xs4all.net
|
Message-ID: | <2bbd046b7e2ea40818416d8a6d3f15b8.squirrel@webmail.xs4all.nl>
|
Date: | Mon, 13 Apr 2015 18:10:44 +0200
|
Subject: | Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3
|
From: | "Houder" <houder AT xs4all DOT nl>
|
To: | cygwin AT cygwin DOT com
|
User-Agent: | SquirrelMail/1.4.22
|
MIME-Version: | 1.0
|
X-IsSubscribed: | yes
|
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
- Raw text -