From owner-freebsd-fs@FreeBSD.ORG Thu Oct 21 07:37:18 2004 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 882CE16A4CE for ; Thu, 21 Oct 2004 07:37:18 +0000 (GMT) Received: from mail5.dslextreme.com (mail5.dslextreme.com [66.51.199.81]) by mx1.FreeBSD.org (Postfix) with SMTP id 082F043D41 for ; Thu, 21 Oct 2004 07:37:18 +0000 (GMT) (envelope-from seva_t@dslextreme.com) Received: (qmail 30678 invoked from network); 21 Oct 2004 07:37:16 -0000 Received: from unknown (HELO dnepr) (66.159.224.147) by 192.168.8.93 with SMTP; Thu, 21 Oct 2004 07:37:16 +0000 From: "Seva Tonkonoh" To: Date: Thu, 21 Oct 2004 00:38:17 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4927.1200 Importance: Normal X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) Subject: acl question X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 07:37:18 -0000 Hello, I am interested in the following problem: My process is running as root. I want to check if some user is allowed to access a file. Can I use ACL API to achieve that, or is there any other way? The process is multithreaded, so I am not sure if I can use setuid(). Thanks, Seva Tonkonoh