From owner-freebsd-fs Sat Mar 2 10: 0:56 2002 Delivered-To: freebsd-fs@freebsd.org Received: from dns.pacang.com (adsl-63-193-245-242.dsl.snfc21.pacbell.net [63.193.245.242]) by hub.freebsd.org (Postfix) with ESMTP id AD88D37B405; Sat, 2 Mar 2002 10:00:51 -0800 (PST) Received: (from bservies@localhost) by dns.pacang.com (8.9.3/8.9.2) id KAA15722; Sat, 2 Mar 2002 10:00:50 -0800 Date: Sat, 2 Mar 2002 10:00:50 -0800 From: Byron Servies To: Robert Watson Cc: freebsd-fs@freebsd.org Subject: Re: Retrieving a list of ACLs for a file Message-ID: <20020302100050.A15624@pacang.com> References: <20020225215526.J13918@pacang.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from rwatson@freebsd.org on Fri, Mar 01, 2002 at 04:52:16PM -0500 Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On March 01, 2002 at 16:52, Robert Watson wrote: > > Unfortunately, the POSIX.1e API doesn't define a way to get a list of > valid ACL types for a particular filesystem object (or even a filesystem). > For the time being, it's probably sufficient to assume that there will > only be ACL_TYPE_ACCESS and ACL_TYPE_DEFAULT ACLs present on filesystems. > Other ACL constants have been tentatively assigned, but are not used. > Hi, I was looking around some more last week and noticed that the posix acl support is built upon a more generic extattr facility. Instead of backing up the posix acl's directly, should I instead be using this facility to backup any possible additional attributes on a file? Since this is a freebsd api, I could add the function necessary to collect a complete list, if one does not exist yet. Preferences? Thanks for the advice, Byron To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message