From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 74465 invoked by alias); 12 May 2015 19:02:50 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 74454 invoked by uid 89); 12 May 2015 19:02:49 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.3 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f178.google.com Received: from mail-ig0-f178.google.com (HELO mail-ig0-f178.google.com) (209.85.213.178) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 12 May 2015 19:02:48 +0000 Received: by iget9 with SMTP id t9so101532223ige.1 for ; Tue, 12 May 2015 12:02:46 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.50.78.170 with SMTP id c10mr5668695igx.0.1431457366601; Tue, 12 May 2015 12:02:46 -0700 (PDT) Received: by 10.64.119.164 with HTTP; Tue, 12 May 2015 12:02:46 -0700 (PDT) Date: Tue, 12 May 2015 19:59:00 -0000 Message-ID: Subject: Problem with posix flags and permission denied on domain computer From: =?UTF-8?B?SmnFmcOtIEVuZ2VsdGhhbGVy?= To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-05/txt/msg00140.txt.bz2 I have problem with posix file flags and permission denied on computer which is in domain. I have file on disk D: named foo. It is accessible both in Windows and in Cygwin as /cygdrive/d/foo but has flags ----rwx---+. If I copy this file to file named bar, it is not accessible in Cygwin nor in Windows. Fresh Windows installation, fresh Cygwin 2.0.2-1, foo file created in notepad. As user engycz I'm member of group "NT AUTHORITY\Authenticated Users" and "BUILTIN\Users" so I have R/W access to foo. $ ls -al foo ----rwx---+ 1 engycz Domain Users 5 12. 5 20.15 foo $ cat foo hello $ getfacl.exe foo # file: foo # owner: engycz # group: Domain Users user::--- group::--- group:Authenticated Users:rwx group:SYSTEM:rwx group:Administrators:rwx group:Users:r-x mask:rwx other:--- $ icacls.exe foo foo BUILTIN\Administrators:(I)(F) NT AUTHORITY\SYSTEM:(I)(F) NT AUTHORITY\Authenticated Users:(I)(M) BUILTIN\Users:(I)(RX) ==================== $ cp foo bar ==================== $ ls -al bar ----rwx---+ 1 engycz Domain Users 5 12. 5 20.18 bar $ cat bar cat: bar: Permission denied $ getfacl.exe bar # file: bar # owner: engycz # group: Domain Users user::--- group::r-x group:Authenticated Users:rwx group:SYSTEM:rwx group:Administrators:rwx group:Users:r-x mask:rwx other:--- $ icacls.exe bar bar DOM_LAN\engycz:(DENY)(S,RD,REA,X) DOM_LAN\engycz:(D,Rc,WDAC,WO,RA,WA) DOM_LAN\Domain Users:(RX) Everyone:(Rc,S,RA) BUILTIN\Administrators:(F) NT AUTHORITY\SYSTEM:(F) NT AUTHORITY\Authenticated Users:(M) BUILTIN\Users:(RX) -- 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