public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Houder" <houder@xs4all.nl>
To: cygwin@cygwin.com
Subject: Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.0.0-3
Date: Mon, 13 Apr 2015 16:10:00 -0000	[thread overview]
Message-ID: <2bbd046b7e2ea40818416d8a6d3f15b8.squirrel@webmail.xs4all.nl> (raw)

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

             reply	other threads:[~2015-04-13 16:10 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 16:10 Houder [this message]
2015-04-14  8:58 ` Corinna Vinschen
2015-04-14 14:18   ` Houder
2015-04-14 14:50     ` Corinna Vinschen
2015-04-14 15:01       ` Houder
2015-04-14 15:12         ` Corinna Vinschen
2015-04-14 15:26           ` Houder
2015-04-14 15:45             ` Corinna Vinschen
2015-04-14 16:32               ` Houder
2015-04-14 18:21                 ` Corinna Vinschen
2015-04-14 18:38                   ` Houder
2015-04-15  7:13                     ` Corinna Vinschen
2015-04-15  7:46                       ` Houder
2015-04-15  9:04                         ` Corinna Vinschen
2015-04-14 14:27   ` Achim Gratz
2015-04-14 14:52     ` Corinna Vinschen
2015-04-14 15:35       ` Achim Gratz
2015-04-14 15:53         ` Corinna Vinschen
  -- strict thread matches above, loose matches on Subject: below --
2015-04-12 19:23 Corinna Vinschen
2015-04-12 21:19 ` Bryan Berns
2015-04-13  7:17   ` Corinna Vinschen
2015-04-13  7:32     ` Corinna Vinschen
2015-04-13 11:13     ` Bryan Berns

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=2bbd046b7e2ea40818416d8a6d3f15b8.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).