All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Masover <ninja@slaphack.com>
To: Grant Miner <mine0057@mrs.umn.edu>
Cc: Hans Reiser <reiser@namesys.com>, reiserfs-list@namesys.com
Subject: Re: "Metas"
Date: Sun, 25 Apr 2004 00:05:48 -0500	[thread overview]
Message-ID: <408B472C.5090000@slaphack.com> (raw)
In-Reply-To: <4086ABE8.4090806@mrs.umn.edu>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

| But...what about the UNIX security issues where files that aren't
| executable can't have their "metas" accessed?  I suppose that will
| require extensive VFS changes and coordination with Al Viro?

I had an idea I was all ready to send in again, but it doesn't quite
work.  The idea was to make execute mean "execute", and have no meaning
for directories.  Rather, directories are either "readable" or "not
readable".

Another idea which seems to work much better is to merely have two modes
for each file -- one for the file-as-a-file and one for the
file-as-a-directory.  This could allow for files in which the file can
be read, but none of its children can.  By default, foo/ has the same
permissions as foo, but foo/ is guarenteed to have an execute bit when
foo is first created.  The problem is making this efficient -- for
almost all files, this would never be changed, but for some files, it
would, which suggests something like inheritance -- if a certain
property of a file does not exist, it is inherited from the parent, and
/ would have sane properties.

I like both ideas, because I think the execute bit on directories is
useless for everything except reiser4, but then I thought:  maybe foo is
a hash of foo/password, but foo/password is read/write, not just write,
so with reiser4, it makes sense to be able to read() but not readdir()
or chdir(), even if it still doesn't make sense to be able to
read/readdir but not chdir.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQItHK3gHNmZLgCUhAQIuPBAAne/dW0NJZsrz5O2nEUnswdka1tLGmtKq
j3u5qOu3mBJditsrUDBCzlA2OKEbn+lEjZAPzOxE/K3Ov/AiQuvV0VJdjscLoRhE
nBBqVXHbrf0xK0TIKm/J8IFY94ki/FkJ2Qnb7OnGfyldbTDhl9myl/E7jgPDjgNG
R1dkF3hfT8phDHwBEdPPAvU5f9stR8mRsk39DoIH6rwHdN3F35Nb15H6pzdWgd0C
uAsqwRqiX1TmGsbg6buTmXl3gfgf1fKEFpTZu6gE7CTrebtidc6S1vtIF2hQEdog
6JIHF40bI51cGV79ob0yebXfD3gxBeXKYUE97CCptQbHxJBsCkNrG1G9OHd6AINl
HifQnQg5bH/VieyygoANwZVyxWbpGsk/6t5Toz7mLB2eUZJgRe8uNvJhkWjg/SKI
NsMwGbKeXNNUkE3X8yJfhdeG2tKY1N95E4u8aE3EIwNYbqSiwhWqMzwVjCPE3Ueu
i6ZGVO7/Kmc+iPbFEKGmwGrbxEany7edAv33QoZfATMoGRTE5uBHsUkCWWl466B9
vCUMXR5UaL9DK8FANw7czZbcDwIqEw8S/IFeCOYEq1naQl7XsvBrunu0tC+9RKvs
XnMqxmDbroIizpA7lsEyeXZXO/Hg3H3vZCudqfbJbQajeT9P/1qvvJvA4VcNxFsP
sq1bYtpHJFE=
=Kmts
-----END PGP SIGNATURE-----

  reply	other threads:[~2004-04-25  5:05 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-05  0:12 "Metas" Christian Iversen
2004-04-05  0:32 ` "Metas" Alexander G. M. Smith
2004-04-05  0:36   ` "Metas" Christian Iversen
2004-04-05 15:17   ` "Metas" Marcelo Pacheco
2004-04-13 16:51   ` "Metas" Hans Reiser
2004-04-13 18:03     ` "Metas" Narcoleptic Electron
2004-04-13 18:06       ` "Metas" Hans Reiser
2004-04-16 18:11         ` "Metas" James H. Cloos Jr.
2004-04-16 19:20           ` "Metas" Narcoleptic Electron
2004-04-16 20:44             ` "Metas" Grant Miner
2004-04-18  3:33               ` "Metas" Narcoleptic Electron
2004-04-18  5:28                 ` "Metas" Zygo Blaxell
2004-04-21 16:17                   ` "Metas" Hans Reiser
2004-04-21 17:14                     ` "Metas" Grant Miner
2004-04-25  5:05                       ` David Masover [this message]
2004-04-25  5:44                         ` "Metas" Hubert Chan
2004-04-23 20:35                     ` "Metas" mjt
2004-04-25  4:38                       ` "Metas" David Masover
2004-04-25 10:09                         ` "Metas" mjt
2004-04-26 22:30                           ` "Metas" Valdis.Kletnieks
2004-04-16 22:16             ` "Metas" David Masover
2004-04-18  3:31               ` "Metas" Narcoleptic Electron
2004-04-21 16:42     ` "Metas" John D. Heintz
2004-04-21 17:00       ` "Metas" Hans Reiser
2004-04-21 18:15         ` "Metas" John D. Heintz
2004-04-05  0:47 ` "Metas" Hubert Chan
     [not found] <no.id>
2004-04-17  2:55 ` "Metas" The Amazing Dragon
2004-04-28  5:06 ` "Metas" The Amazing Dragon
2004-04-28  6:49   ` "Metas" Hubert Chan
2004-04-28  9:32     ` "Metas" mjt
  -- strict thread matches above, loose matches on Subject: below --
2004-04-21 16:19 "Metas" Burnes, James

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=408B472C.5090000@slaphack.com \
    --to=ninja@slaphack.com \
    --cc=mine0057@mrs.umn.edu \
    --cc=reiser@namesys.com \
    --cc=reiserfs-list@namesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.