9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans]  permissions
@ 2010-10-17  5:35 Benjamin Huntsman
  2010-10-17  6:00 ` Skip Tavakkolian
  0 siblings, 1 reply; 29+ messages in thread
From: Benjamin Huntsman @ 2010-10-17  5:35 UTC (permalink / raw)
  To: 9fans

I probably need to go read the papers regarding permissions 10 more times, 
but this just doesn't seem right to me.  I'm logged in as 'ben' via
drawterm:

cpu% cat /adm/users
adm:adm:adm:sys,bootes,ben
ben:ben::adm,sys
bootes:bootes::ben
glenda:glenda:glenda:
none:none::
noworld:noworld::
sys:sys::glenda,bootes,ben
upas:upas::
cpu% ls -l /dev/sd00 | grep nvram
--rw-r----- S 0 bootes bootes       512 Mar  7  2010 /dev/sd00/nvram
cpu% cat /dev/sd00/nvram
cat: can't open /dev/sd00/nvram: '/dev/sd00/nvram' permission denied
cpu%

Does that not say that if I'm a member of the bootes group, I should be
able to cat that?

Thanks in advance for not flogging me with the manual, and forgiveness
for spending too much time in UNIX-land lately! :)

-Ben



^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: [9fans] permissions
@ 2001-10-18 14:28 Russ Cox
  2001-10-23 20:34 ` Matthew Hannigan
  0 siblings, 1 reply; 29+ messages in thread
From: Russ Cox @ 2001-10-18 14:28 UTC (permalink / raw)
  To: 9fans

It's useful to be able to walk into useless directories.
If you couldn't walk into them, you couldn't bind over them.
(For example, /mail/fs.)



^ permalink raw reply	[flat|nested] 29+ messages in thread
* Re: [9fans] permissions
@ 2001-10-18 14:00 Russ Cox
  2001-10-18 14:12 ` Lucio De Re
  0 siblings, 1 reply; 29+ messages in thread
From: Russ Cox @ 2001-10-18 14:00 UTC (permalink / raw)
  To: 9fans

 From intro(5), ``A walk in a directory is regarded
as executing the directory, not reading it.''  Note it
says ``in'' and not ``into''.  The directory you were in
was still chmod +x.  I bet you can't cd .. back
out of your 664 directory.



^ permalink raw reply	[flat|nested] 29+ messages in thread
* [9fans] permissions
@ 2001-10-18 13:56 Lucio De Re
  0 siblings, 0 replies; 29+ messages in thread
From: Lucio De Re @ 2001-10-18 13:56 UTC (permalink / raw)
  To: 9fans mailing list

I accidentally chmod'd 664 all entries in a directory, then cd'd
into the one directory, successfully.  Have I forgotten to "disallow"
unrestricted access to the fileserver, or should I worry about the
implementation of permissions?  This is a 2ed fileserver, and it's
been a long time since I last restarted it.

++L

PS: I was mucking about with PGP, version 263ii.  I have tweaked the
mods from Russ's site but the result really looks shoddy.  Still, if
anyone wants a working copy, the mods are quite simple, drop me a
line.


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

end of thread, other threads:[~2010-10-19 18:18 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-17  5:35 [9fans] permissions Benjamin Huntsman
2010-10-17  6:00 ` Skip Tavakkolian
2010-10-17  6:19   ` erik quanstrom
2010-10-17  6:36     ` Benjamin Huntsman
2010-10-17 13:59       ` erik quanstrom
2010-10-17 16:01       ` blstuart
2010-10-17 16:11         ` erik quanstrom
2010-10-17 17:17           ` ron minnich
2010-10-17 18:11         ` Benjamin Huntsman
2010-10-17 18:18           ` erik quanstrom
2010-10-17 19:17             ` blstuart
2010-10-17 19:59               ` Benjamin Huntsman
2010-10-17 20:40                 ` blstuart
2010-10-17 21:22                   ` Benjamin Huntsman
2010-10-17 22:56                     ` erik quanstrom
2010-10-18  9:00                       ` Steve Simon
2010-10-18  9:29                         ` dave.l
2010-10-18  9:34                         ` Bruce Ellis
2010-10-18 11:07                         ` Dave Eckhardt
2010-10-18 11:11                           ` Bruce Ellis
2010-10-17 22:58                     ` blstuart
2010-10-19 18:18                 ` Nathaniel W Filardo
2010-10-17 23:00               ` erik quanstrom
  -- strict thread matches above, loose matches on Subject: below --
2001-10-18 14:28 Russ Cox
2001-10-23 20:34 ` Matthew Hannigan
2001-10-24  8:44   ` Douglas A. Gwyn
2001-10-18 14:00 Russ Cox
2001-10-18 14:12 ` Lucio De Re
2001-10-18 13:56 Lucio De Re

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).