delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/11/23/05:08:32

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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=Kdb
qT2vNMfcFkCC1sye8cCAqF0Fkh7yu3lYGjSDlAbUG5i5WqWM/u7r1tw0lbtX/tHO
QW/ChcG3Xnw7e3LJUjQfKLDG5DqgxIY9g7lZQXCwoPmGAcpr/mnCziMI388f8Pw2
fIPrjxTKU71f3WWJYDmLjOGoIhN0GckQ0P8De1zY=
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:to:from:subject:message-id:date:mime-version
:content-type:content-transfer-encoding; s=default; bh=SO9J5ZRfJ
17H06p7afHLhp1XIWw=; b=wdKAGt1x3YIVJsjI7xbAUryDwM8OHYl1X/szh9qIR
hnEnlnGrwjNZVkXd/qDmc5NzHq5d8p6oHlFgJdS7rBZgb4JLsVyjT+T1/kUrbGTr
kZ4g/cuFhvgxDxyunCZiPUk3pOpYajaposQhZz2z9wmpnxgGjiEmFjqnT5ckfKXI
mk=
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.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: mail-pa0-f42.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=to:from:subject:message-id:date:user-agent:mime-version :content-type:content-transfer-encoding; bh=9XvDEd2XpBn7i9zciJJu4+EFvDwPEiYObep50ZVfv/k=; b=mVQaI7BmO6Hy/h1M7kD0TO9Bg4Y4ZUtZEZbAXOWT/E6HZSANkmTQR6szITG7SZm18m ZG30ifVtnlwcX1cNSlYQqMgfjRPpdUE9DwMqfaPaVnhi94rgt/dJfQkFltnabsc3rqZZ ChV+WzoOss3gT+6m2GKVc0jJxyHAAoSWVE7AzTwkTp25itNR+4rqdwwSBRio4ksXGr6D 1/K/li09DzT8JekMYhsStN1mD+dUlSx+xirejawfnjNyTEkvkzNHmFonyns3iQ+jPlrp Vg/jDRJGDXudpGqw1SjcufnuCx/nW1bcpjytHYf4cf6Vog8JEFg+fmCO0QwPbhKnx8ot Cs7w==
X-Received: by 10.68.135.132 with SMTP id ps4mr35048124pbb.111.1448273291790; Mon, 23 Nov 2015 02:08:11 -0800 (PST)
To: cygwin AT cygwin DOT com
From: "Matt D." <matt AT codespunk DOT com>
Subject: No support for ACLs on network shares?
Message-ID: <5652E58A.2030605@codespunk.com>
Date: Mon, 23 Nov 2015 02:08:10 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
MIME-Version: 1.0

I noticed today that when accessing a network share, the permissions for 
the current user are not resolving.

For example, I'm connected to a network share //server/share which is a 
CentOS share with a unix login/password. The share is already logged in 
by Windows and on the keychain so I don't have to enter the login 
information.

In Cygwin, 'cd //server/share' then 'ls -l' I get this:

drwxrwx---  1 Unknown+User Unix_Group+1001          0 Nov 23  2015 test

I'm already logged in through windows as the 'Unknown+User' but Cygwin 
does not recognize that I have access to any of the ACLs for the owner 
or groups and also does not resolve the SID name.

The problem with this is that files created or modified are only done so 
in the 'Everyone' permission and inherited permissions such as the 
execute bit are not recognized.

My use-case is where I've mapped a network path to either a network 
drive or a symlinked folder (with Windows mklink) with the path on the 
environment's PATH. In this case, files which are executable are not 
recognized and do not appear when calling 'which'.

It seems as though Cygwin only maps ACLs to the SIDs stored in passwd 
and group and cannot handle ACLs when accessing network devices where 
SIDs are not present in these files. Running passwd/mkgroup after the 
share is on the keychain does not provide additional SIDs.

Is there no support for ACLs across network shares at all?


Matt D.

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


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019