From: "Денис Смирнов" <mithraen@altlinux.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] thunar-shares-plugin
Date: Sat, 21 Feb 2009 19:22:16 +0300
Message-ID: <20090221162216.GB19054@mw.office.seiros.ru> (raw)
In-Reply-To: <20090221111508.GE3878@altlinux.org>
[-- Attachment #1: Type: text/plain, Size: 721 bytes --]
On Sat, Feb 21, 2009 at 02:15:08PM +0300, Alexey I. Froloff wrote:
>> 3) 711 или 701. Второй вариант странен из-за того, что может не
>> работать по не очевидным причинам
AIF> 711 и 701 работают абсолютно одинаково.
Это неправда, можешь проверить. Я -- проверял.
Это малоизвестная но важная особенность прав доступа.
Если owner == uid, то проверка прав доступа идет _только по первой цифре_.
Если owner group == gid, то проверка прав доступа идет _только по второй
цифре_.
Самый простой пример:
$ touch test
$ chmod 004 test
$ cat test
cat: test: Отказано в доступе
--
С уважением, Денис
http://freesource.info
----------------------------------------------------------------------------
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2009-02-21 16:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-19 18:49 ` Led
2009-02-20 5:06 ` REAL
2009-02-20 6:04 ` Alexander Bokovoy
2009-02-20 10:03 ` Денис Смирнов
2009-02-20 11:27 ` Alexander Bokovoy
2009-02-20 15:12 ` Денис Смирнов
2009-02-20 20:43 ` Led
2009-02-21 2:09 ` Alexander Bokovoy
2009-02-21 4:54 ` Evgeny Sinelnikov
2009-02-21 11:15 ` Alexey I. Froloff
2009-02-21 16:22 ` Денис Смирнов [this message]
2009-02-22 13:07 ` Mikhail Gusarov
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=20090221162216.GB19054@mw.office.seiros.ru \
--to=mithraen@altlinux.ru \
--cc=devel@lists.altlinux.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
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git