From owner-freebsd-fs Fri Mar 1 13:52:38 2002 Delivered-To: freebsd-fs@freebsd.org Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 3E4A137B41D for ; Fri, 1 Mar 2002 13:52:34 -0800 (PST) Received: from fledge.watson.org (fledge.pr.watson.org [192.0.2.3]) by fledge.watson.org (8.11.6/8.11.5) with SMTP id g21LqGD95599; Fri, 1 Mar 2002 16:52:20 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Fri, 1 Mar 2002 16:52:16 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Byron Servies Cc: freebsd-fs@freebsd.org Subject: Re: Retrieving a list of ACLs for a file In-Reply-To: <20020225215526.J13918@pacang.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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. Robert N M Watson FreeBSD Core Team, TrustedBSD Project robert@fledge.watson.org NAI Labs, Safeport Network Services On Mon, 25 Feb 2002, Byron Servies wrote: > Hi there! > > I am working on adding ACL support to the freebsd port of Legato > NetWorker. Everything appears to be straight forward, with the > exception of retrieving a complete list of the ACLs on a file. > > From the acl_get manual page, it appears that there is no way > to retrieve a complete list, but that each ACL type must be > retrieved individually. My concern is that if new ACL types > are added, the backup will still succeed though the new ACLs > would not actually be backed up. > > Does anyone have any suggestions on a good way to retrieve > a complete list, or do I just have to hard code it? > > Thanks, > > Byron > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-fs" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message