From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GQ1fj-00031f-1X for garchives@archives.gentoo.org; Wed, 20 Sep 2006 12:59:27 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8KCwKYm022444; Wed, 20 Sep 2006 12:58:20 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k8KCrL7B031808 for ; Wed, 20 Sep 2006 12:53:22 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 414EB64B86 for ; Wed, 20 Sep 2006 12:53:21 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 25367-06 for ; Wed, 20 Sep 2006 12:53:17 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 610BA64AD3 for ; Wed, 20 Sep 2006 12:53:15 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GQ1ZJ-0005d2-62 for gentoo-user@gentoo.org; Wed, 20 Sep 2006 14:52:49 +0200 Received: from blueboticspc1.epfl.ch ([128.179.67.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 14:52:49 +0200 Received: from remy.blank_asps by blueboticspc1.epfl.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 20 Sep 2006 14:52:49 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Remy Blank Subject: [gentoo-user] Re: permissions for a common folder Date: Wed, 20 Sep 2006 14:52:30 +0200 Message-ID: References: <200609191353.13620.stefi@geohidroterv.hu> <200609201001.43325.stefi@geohidroterv.hu> <200609201351.57167.stefi@geohidroterv.hu> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-2 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blueboticspc1.epfl.ch User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) In-Reply-To: <200609201351.57167.stefi@geohidroterv.hu> Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.562 required=5.5 tests=[AWL=0.037, BAYES_00=-2.599] X-Spam-Score: -2.562 X-Spam-Level: X-Archives-Salt: 7e7df533-4878-4572-818f-318b48dc37b0 X-Archives-Hash: a22a6909f25f99cece87c621521b3936 >> Use the following: >> >> setfacl -m d:u::rwx,d:g::rwx,d:o::rx /home/stefi/kepek/ >> >> i.e. also give it a default execute permission. > > Thanks, it works know, though I don't understand it. The default user, group and other ACLs of a directory are ANDed with the mask passed to the open() or mkdir() call. For directories, the mode is normally passed as 0777, so you end up with 0775 permission. For files, the mode is usually passed as 0666, and so you get 664 permissions. -- Remy Remove underscore and suffix in reply address for a timely response. -- gentoo-user@gentoo.org mailing list