delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/12/21/18:25:40

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:from:mime-version:to:subject
:content-type:content-transfer-encoding; q=dns; s=default; b=ZR0
vFBGKgBNMFBhg6/5MML2VpwfifWlVlAQBr82RB5e3OCHGmZ1hukxBjaXhUPqSUfG
DmBNoSe8kL+zm789R0KIylQYBeuTi7m+EUv8FtNhRQdxRBhFGrAkFXRJR1BTjoKY
Z8OQJhg3jHKxB7yPqX1s/1BXT1ocWTxyveRYPCuE=
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:from:mime-version:to:subject
:content-type:content-transfer-encoding; s=default; bh=2jzYgil9U
gxFbYJk2pYECpEnM0Q=; b=sOIwzI1P9BbNwnQberqe7l5S6b2snKEveme1t7Nyp
7h9CoBnZAtQ/hnolJsI3TzsHqD4Aif+7Q69zsxYV1D+2RfX75rG9xkVqzqJa9YWC
8mSqufpi9/SzNoe03Kq/K41wTVzezum33InHiCmsAVuPGc396nb7Zvw0Do/6hOMu
8c=
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=-1.4 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: Ishtar.hs.tlinx.org
Message-ID: <549756D2.8000600@tlinx.org>
Date: Sun, 21 Dec 2014 15:25:06 -0800
From: Linda Walsh <cygwin AT tlinx DOT org>
User-Agent: Thunderbird
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RFD: cygwin ACLs: NFS or POSIX model: ease in adapting to CIFS ACLs?
X-IsSubscribed: yes

I seem to remember that the cygwin ACL's were based on NFS acls not
the POSIX ACL's.  From this snippet I read on the Samba list,
it seems there are some "very difficult" [nightmarish] cases
where NFS causes CIFS compatibility problems.  Is this only
NFSv4 (does cygwin model v4 or v3?) that had these problems? 

Would it simplify anything for cygwin to be using POSIX
acl's -- in so much that those seem to be more
str8forward in functionality mapping?

I know nothing about NFS ACL's or how they are different from POSIX ACL's,
but wondered also if code in the linux kernel or samba projects might have
any useful bits to use in cygwin only from the basis of what this
person states about their compatibility?

It may also be this is a dead issue without someone to do the work, but
am just wondering if it is, in any fixes or enhancements to the Cygwin ACL
work something that might be good to consider as a direction for either,
new or maintenance (or both) work?

Just seems like code in samba that presents a CIFS UI/API
to the 'user' from a POSIX ACL UI/API backend,  might have
some similarities between cygwin code using CIFS to talk to
the OS and presenting a POSIX ACL UI/API to the 'user'?

-------- Original Message --------
Subject: 	Does Samba 4 actually respect Unix file acls?
Date: 	Sat, 20 Dec 2014 20:42:11 -0500
From: 	Nico Kadel-Garcia <nkadel AT gmail DOT com>
To: 	Rufe Glick <rufe DOT glick AT gmail DOT com>
CC: 	samba AT lists DOT samba DOT org <samba AT lists DOT samba DOT org>
References: 	<931136554 DOT 20141219124751 AT gmail DOT com>



On Fri, Dec 19, 2014 at 12:47 PM, Rufe Glick <rufe DOT glick AT gmail DOT com> wrote:
> Hello,
>
> After researching the subject on the internet I concluded that Samba should 
> take into account Unix file acls. During my tests I found the opposite. 


I'm sorry, but exactly which set of "file acl's" are you referring to?
NFS v4, prehaps or Linux availaility? CIFS ACL's? Because I've got to
warn you, I pursued getting NFS, and CIFS clients to work well with
Samba and Netapps, with Linux and Windows clients, and it was a
clusterfutz to manage. 

RHEL didn't include decent GUI's to manage NFSv4 ACL's, the are 
profound hierarchy differences between CIFS and
NFSv4, and the edge cases were nightmarish.

Frankly, for most environments, the POSIX permissions are not only
vastly simpler, but the software compatibly is so much simpler as to
help make the code more stable and thus safer. I remember even Jeremy
Allison referring to the NFSv4 code in Samba as spaghetti code.
-------------------------------------------------------------------


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