From: Remy Blank <remy.blank_asps@pobox.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: permissions for a common folder
Date: Wed, 20 Sep 2006 14:52:30 +0200 [thread overview]
Message-ID: <eerdih$gai$1@sea.gmane.org> (raw)
In-Reply-To: <200609201351.57167.stefi@geohidroterv.hu>
>> 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
next prev parent reply other threads:[~2006-09-20 12:59 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-19 11:53 [gentoo-user] permissions for a common folder Stefán István
2006-09-19 12:15 ` [gentoo-user] " Remy Blank
2006-09-20 8:01 ` Stefán István
2006-09-20 9:00 ` Remy Blank
2006-09-20 11:51 ` Stefán István
2006-09-20 12:52 ` Remy Blank [this message]
2006-09-19 12:23 ` [gentoo-user] " Alan McKinnon
2006-09-19 12:31 ` Matteo Pillon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='eerdih$gai$1@sea.gmane.org' \
--to=remy.blank_asps@pobox.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox