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 1GPy2c-00020q-Bp for garchives@archives.gentoo.org; Wed, 20 Sep 2006 09:06:50 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k8K95gSm013373; Wed, 20 Sep 2006 09:05:42 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 k8K91SYh016225 for ; Wed, 20 Sep 2006 09:01:28 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id B19EC6413D for ; Wed, 20 Sep 2006 09:01:27 +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 17864-09 for ; Wed, 20 Sep 2006 09:01:21 +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 34EA064660 for ; Wed, 20 Sep 2006 09:01:19 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1GPxx6-0001fj-OA for gentoo-user@gentoo.org; Wed, 20 Sep 2006 11:01:08 +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 11:01:08 +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 11:01:08 +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 11:00:54 +0200 Message-ID: References: <200609191353.13620.stefi@geohidroterv.hu> <200609201001.43325.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 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: <200609201001.43325.stefi@geohidroterv.hu> Sender: news X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.561 required=5.5 tests=[AWL=0.038, BAYES_00=-2.599] X-Spam-Score: -2.561 X-Spam-Level: Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k8K95gT2013373 X-Archives-Salt: 4f058e60-1695-4ceb-ba53-f6673046e667 X-Archives-Hash: 75cf1d38ccb255a4394e37a6e5631de8 Stef=E1n Istv=E1n wrote: > Okay, I think I have to use acl. I've read its documentation, and set u= p the=20 > following acl's: >=20 > setfacl -m d:u::rw /home/stefi/kepek/ > setfacl -m d:g::rw /home/stefi/kepek/ > setfacl -m d:o::r /home/stefi/kepek/ >=20 > Now, if I create a file in this directory, it's permission will be 664 = instead=20 > of the default 644. That's very good. > But if I create a directory it's permissons also will be 664. But I wan= t it to=20 > be 775. How can I achive this? 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. -- Remy Remove underscore and suffix in reply address for a timely response. --=20 gentoo-user@gentoo.org mailing list