From owner-freebsd-questions@FreeBSD.ORG Wed Mar 12 18:58:45 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D40671065671 for ; Wed, 12 Mar 2008 18:58:45 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (www.violetlan.net [80.81.242.8]) by mx1.freebsd.org (Postfix) with ESMTP id 9CEF88FC2F for ; Wed, 12 Mar 2008 18:58:45 +0000 (UTC) (envelope-from freebsd@violetlan.net) Received: from mail.violetlan.net (localhost [127.0.0.1]) by mail.violetlan.net (Postfix) with ESMTP id 7D8B31144C for ; Wed, 12 Mar 2008 19:02:44 +0000 (GMT) Received: from www.violetlan.net (mbali.violetlan.net [10.0.100.150]) by mail.violetlan.net (Postfix) with ESMTP id 45A4E11426 for ; Wed, 12 Mar 2008 19:02:44 +0000 (GMT) Received: from 217.41.34.61 (SquirrelMail authenticated user freebsd@violetlan.net) by www.violetlan.net with HTTP; Wed, 12 Mar 2008 19:04:07 -0000 (GMT) Message-ID: <58200.217.41.34.61.1205348647.squirrel@www.violetlan.net> Date: Wed, 12 Mar 2008 19:04:07 -0000 (GMT) From: "Reinhold" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP Subject: removing acl from a directory X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Mar 2008 18:58:46 -0000 Hi, I need to remove all the acls from a directory and its files, I've done that successfully using setfacl -bn. This dir is being used by samba but because of the way its now being used we don't need acls on it any more. The thing is every time we create a file either trough samba or from a terminal it adds the acls to the file even after I removed them all. Here is an example of whats happening total 2858 drwxrwx--- 6 user1 test 512B Mar 12 17:54 .svn/ drwxrwx--- 3 user1 test 512B Mar 12 17:54 branches/ drwxrwx--- 3 user1 test 512B Mar 12 17:54 tags/ ----r-----+ 1 root test 0B Mar 12 18:50 test drwxrwx---+ 2 user1 test 512B Mar 12 18:51 test123/ -rwxrwx---+ 1 user1 test 0B Mar 12 18:51 test123_file* drwxrwx--- 5 user1 test 512B Mar 12 17:54 trunk/ -rw-rw---- 1 user1 test 2.7M Mar 12 17:43 trunk.zip Our main problem is the that if the system creates a file or folder it is just adding read permissions to the group Also as you can see the names with the + in them have been created after I removed all the acls. test was created by me from within a shell and test123 was done trough samba. What information do I need to share with you all to see if we can fix this? Best regards Reinhold