All of lore.kernel.org
 help / color / mirror / Atom feed
* preexisting 'metas'?
@ 2004-06-13  2:04 David Masover
  2004-06-13 10:00 ` mjt
  2004-06-14  0:33 ` Valdis.Kletnieks
  0 siblings, 2 replies; 4+ messages in thread
From: David Masover @ 2004-06-13  2:04 UTC (permalink / raw)
  To: reiserfs-list

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



I finally got sick of having the metas directory named 'metas'.  I went
in and found (quite easily -- clean-ish looking code) the label name and
changed it to '...' (sanest option for me).

Well, the '...' in my brother's home dir had some stuff that he'd like
to keep secret -- as in, he doesn't want people to know he has them.
After reboot, his '...' dir still exists, but when I rename it, the
metas dir pops back in.  Then I can't overwrite it again (make a new dir
called '...', or move the old one back).

This is all perfect, and exactly what you'd want/expect.  Just curious
- -- is this intentional/documented?


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQMu2PXgHNmZLgCUhAQJ0YBAAgbFpJhuGCiI+XZ3kKqzUm1SdABM7m8ZV
qbLwzHhRu1R5I8zVpXUEAfR2ba1bL+3/DuXkvNjvRjL/RopGDcmp2yH4C69MIC/B
kCEAkq1pb2Hh6Ot7Qopj9XNfXFO5VflPVu0JVj2xxaO4uXI3V0N5m34Uz7xfRV6T
D7pqxgsRWVwB+ipSZ0Et9KUodawcudBt9w4eCgx+y7lchTYMjXMu4iopqU5uUQuW
IPM/T997NslJ5tsAQjVVFtwZrotrEoC3pV2s24T7aYVnnF2HCmlHJDK5Ldpd751a
+9TyYxmEBHk4ZyAZQvKNc5oIN3vPGdRfz+Lphuv11/FZ8xDV05mgltPSqDQRMKjF
4zIwPvW6OQo3sL4kzBNWXF7i26/h6KrYb7TP/yUtd3zV4NLN2hHOKUzu1p02Pu/7
NB7Ds8nW3kpHmeS7rYIYLamyXJiarLTa+yMnLcHYC8zAQkHR31S6HPKqHDfgX2Qf
L+cBxJAnyu/wko1Ays52o0AbYjRlEaeMaiYRBCb5AAhNo8K7aZUWJgwPw5KVvxTU
F0z9fYNfMeCLhIyw3jFL7WF7nGdEfyr8lPJm3z9IZLqCEVxGeUrdvDRrazN1XQj0
FYeWh8GZPPgIPjZiUu5gwDWSRbqU3feCLQuH8tWjiUy1neI9/XBU4D5b1u/Z3IjG
jX3a360dfJ8=
=hMCA
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: preexisting 'metas'?
  2004-06-13  2:04 preexisting 'metas'? David Masover
@ 2004-06-13 10:00 ` mjt
  2004-06-14  0:33 ` Valdis.Kletnieks
  1 sibling, 0 replies; 4+ messages in thread
From: mjt @ 2004-06-13 10:00 UTC (permalink / raw)
  To: David Masover; +Cc: reiserfs-list

On Sat, Jun 12, 2004 at 09:04:46PM -0500, David Masover wrote:
>I finally got sick of having the metas directory named 'metas'.  I went
>in and found (quite easily -- clean-ish looking code) the label name and
>changed it to '...' (sanest option for me).

http://mjt.nysv.org/reiser/reiser4.metas.patch
Which is afaik incorporated in some patch sets is not big.

>metas dir pops back in.  Then I can't overwrite it again (make a new dir
>called '...', or move the old one back).

Hans once asked if we would be happy if we could rename the metas/ directory.
I at least opposed this, at least (iirc) as long as it's invisible to readdir,
which it should be until the end of time. Consider people losing their metas
directory, you'd have to be able to look up every name through /proc/ or
something for every cwd.

Thanks, you just tested something I've been thinking about testing for a long
time :)

Anything you decide to reserve from the fs namespace is bound to be reserved
for real use. It's the monkeys, typewriters and Hamlet[1]

[1]
Been years since I read that one, may misremember...

-- 
mjt


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: preexisting 'metas'?
  2004-06-13  2:04 preexisting 'metas'? David Masover
  2004-06-13 10:00 ` mjt
@ 2004-06-14  0:33 ` Valdis.Kletnieks
  2004-06-14 12:35   ` David Masover
  1 sibling, 1 reply; 4+ messages in thread
From: Valdis.Kletnieks @ 2004-06-14  0:33 UTC (permalink / raw)
  To: David Masover; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 1228 bytes --]

On Sat, 12 Jun 2004 21:04:46 CDT, David Masover <ninja@slaphack.com>  said:

> Well, the '...' in my brother's home dir had some stuff that he'd like
> to keep secret -- as in, he doesn't want people to know he has them.

Just as an aside, note that calling the directory '...' will only slow down a
clueless person.  Consider that 'du' and 'ls -a' and 'ls -A' will all show them
- as will 'find' and any number of other utilities...

The "first character is a dot so don't list it" convention is there for
usability, not security.  My home directory has 179 .whatever files in it at
the moment - a lot more than non-dot files, in fact.  So the output of 'ls' is
shorter.  It won't work as security unless the people you're trying to hide it
from are so lacking in Unixoid clue that they don't know they have a .profile....

And if he wants to keep it secret, he should be using at *least* enough things
to keep people *that* unclued out.  If they're unclued enough to not be able to
find a . file, how did they get *in*??/

If you want actual *security*, you need to be using something that does actual
crypto.  Jari Ruuso's 'loop-aes' package (on sourceforge) is one example of the
class of software you *want* to be using.



[-- Attachment #2: Type: application/pgp-signature, Size: 226 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: preexisting 'metas'?
  2004-06-14  0:33 ` Valdis.Kletnieks
@ 2004-06-14 12:35   ` David Masover
  0 siblings, 0 replies; 4+ messages in thread
From: David Masover @ 2004-06-14 12:35 UTC (permalink / raw)
  To: Valdis.Kletnieks; +Cc: reiserfs-list

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



Valdis.Kletnieks@vt.edu wrote:
| On Sat, 12 Jun 2004 21:04:46 CDT, David Masover <ninja@slaphack.com>
said:
|
|
|>Well, the '...' in my brother's home dir had some stuff that he'd like
|>to keep secret -- as in, he doesn't want people to know he has them.
|
|
| Just as an aside, note that calling the directory '...' will only slow
down a
| clueless person.  Consider that 'du' and 'ls -a' and 'ls -A' will all
show them
| - as will 'find' and any number of other utilities...

I think the main thing he wanted was to keep people from noticing such a
directory existed.  And especially jaded sysads might pass over a file
called '...' -- or, more easily, a file called '. ' or '.. '.

Based on the content in that directory, I could just ask him what was in
there and know by watching his reaction.  Either way, it's no big deal.

| And if he wants to keep it secret, he should be using at *least*
enough things
| to keep people *that* unclued out.  If they're unclued enough to not
be able to
| find a . file, how did they get *in*??/

Suppose he's browsing through his home dir with someone on his shoulder,
because he wants to show them something.  If he wasn't hiding things at
all, he'd call it 'xxx'.  Otherwise, he'd call it something boring --
but the shoulder-surfer might ask him what's in there...

| If you want actual *security*, you need to be using something that
does actual
| crypto.  Jari Ruuso's 'loop-aes' package (on sourceforge) is one
example of the
| class of software you *want* to be using.

Yeah right.  I'm root, he's not.  His security is the fact that I'm his
brother.  I demonstrated this to him vividly, when I told him I really
don't care about his password, and so I won't look if he doesn't want me
to (when I first had him enter it) -- then I logged in as root and su'd
to his account.  He thinks it isn't fair.  I built the computer >:)



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQM2bjXgHNmZLgCUhAQL+3xAAiTSfSEWeTBFvV0/RafdlV5TrFmcgPNUh
I9GkCz4mUxRwEOrh8wCg7pC3jYsusWT9sXqJ4pbc9GkSopE4NnY96f3Hq/aYfBHD
diGOi7aanSEmRS7hpNgJHzsDTPCrMBvxvqXZNPr3rZLB/ta+YL6W/VzEi3Ff0lL+
BGFyBJKPB2OcSnRsZIpfj3WCDoLvjNkXdhV4Zm1/CFC3vms1CIZUA7R/JJ73CrXN
6AbU533SUMO8RWwMfIoNj12h9FKsN1HB9N9iZ/IId2njF/VPuoAildT0tBk/zzbD
BBjvoxYNQSwtJk0XbPp4szWzh45OXdl91G4fvdouNvBNff+qGMb9PUk9jqn7whV0
xWNSezVH0SfscXpfHLEpuSTzDWfG1hu0aIamtmuWmE7ZiWioomHGVvXWcgZnUjVX
nkIJxQm03HsvvvvZnUeWJUse2uywkxnZ24mFTxycKsApDGMy3yx9X/BEVOdWOHMb
kpf7rmOKCU6nqqvA/QrbUD+e/deNML5uUndU2IDtp+OjBKg4QA+sp0IUJ7QaP9f8
/HzDtVJ1lpMpDTaTnjlXeKCqCsu1vVstsQQuQycNUu5FTo+eXsq5DB5xQwHOPoR7
7oafisQkQ0nmo+q0rSzDB6zrupSVs9DZwrUzcDZUkedqwlJzHvpKHBuMypCR6z/J
1BJhFXeDsFE=
=MgH3
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-06-14 12:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-13  2:04 preexisting 'metas'? David Masover
2004-06-13 10:00 ` mjt
2004-06-14  0:33 ` Valdis.Kletnieks
2004-06-14 12:35   ` David Masover

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.