All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marc Perkel <marc@perkel.com>
To: Nix <nix@esperi.org.uk>
Cc: Lennart Sorensen <lsorense@csclub.uwaterloo.ca>,
	7eggert@gmx.de, Luke Kenneth Casson Leighton <lkcl@lkcl.net>,
	linux-kernel@vger.kernel.org
Subject: Re: what's next for the linux kernel?
Date: Wed, 05 Oct 2005 12:30:58 -0700	[thread overview]
Message-ID: <434429F2.7030400@perkel.com> (raw)
In-Reply-To: <874q7vhj0c.fsf@amaterasu.srvr.nix>



Nix wrote:

>On Wed, 05 Oct 2005, Marc Perkel yowled:
>  
>
>>Agian - thinking outside the box.
>>    
>>
>
>I hate that phrase. There is no `box'.
>
>  
>
That's what it looks like when you are inside it.

>>If the permissions were don'e right in your own directories your
>>inherited rights would give your permissions automatically to your
>>home directory and all directories uner it. Netware has a concept
>>called an inherited rights mask - something Linux lacks. Windows also
>>has rights like this and Samba emulates it. So unless root put files
>>in your directory and specifically denied you rights to them, you
>>would have full rights to your own directory.
>>    
>>
>
>So, um, what happens to these permissions when you copy a file and put
>it somewhere else? Do the inherited rights go with it or not? In Unix
>it's pretty intuitive. In this system there seem to be two right
>answers, both of which seem... risky from a security perspective.
>  
>
You inherit the rights of the new directory.

Also - under Netware not all permissions are stored with the file. The 
rights are calculated from the file heirachy so you don't store a lot of 
data with each file unless the file has permissions set that is 
different than that of the directory it's in. So moving a file to 
someone's home directory doesn't require any permissions to be set to 
give the user rights to the file.

>  
>
>>However - if you were browsing the /etc directory and there were files
>>there that you had no read or write access to - then you wouldn't even
>>be able to list them.
>>    
>>
>
>/tmp is the problem here, and shows the futility and pointlessness of
>this feature. If you have an unlistable file in /tmp, *its name is still
>determinable*, because other users cannot create files with that
>name. The concept adds *nothing* over some combination of dirs with the
>execute bit cleared for some set of users and subdirectories which
>cannot be read by some set of users. There's no need for this profoundly
>non-Unixlike permission at all. (As usual, ACLs make managing this on
>a fine-grained scale rather easier.)
>
>  
>
It doesn't really make sense to use the /tmp directory the way Unix uses 
it. Why would you want just anyone to even know the names of the 
temporary files you are using. Users should have their own temp 
directory or create their own directory within /tmp

But - to address your question - if there were an invisible (to you) 
file in a directory that you had create rights to then you would get a 
file creation error.

>>                      If you went to the home directory and lets say
>>everyone had 700 permissions on all the directories withing home, you
>>would only see your own directory. You wouldn't even be able to know
>>what other directories existed there.
>>    
>>
>
>This is what per-process filesystems are for.
>
>  
>
>>If you want to start thinking about DOING IT RIGHT you need to think
>>beyond the Unix model and start looking at Netware. Maybe in 5 years
>>Linux will evolve to where Netware was in 1990.
>>    
>>
>
>I think Plan 9 is a better goal than Netware. At least it was designed
>by people aiming for a better Unix rather than people trying to build a
>better DOS, and so is more likely to have a compatible philosophy.
>
>  
>
I'm not familiar with Plan 9.

>>Unix permissions totally suck but it's old baggage that you're stuck
>>with somewhat. Are you going to be stuck forever and is Linux ever
>>going to grow up and move on to better things? Linux is crippled when
>>it comes to permissions.
>>    
>>
>
>Well, you can't change it drastically without violating POSIX. There's
>no damned way Linux is going to do *that*.
>
>  
>
>>                         The Windows people are laughing at you and
>>you don't even get it why they are laughing.
>>    
>>
>
>You *do* realise just how incapable the Windows permission-management
>GUI is, don't you? Any OS where the command-line tools hide half
>the permissions model and the GUI hides a slightly different half,
>and where looking at a set of permissions and hitting cancel can
>*change* those permissions drastically, is not sane.
>  
>
That's why I'm pushing netware as a model rather than windows. But 
Windows file permissions are superior to Linux.

>(Disclaimer: the last time I bothered to verify the latter behaviour
>was in NT4. Maybe they've partially fixed it.)
>
>  
>

One place where Windows wins over Linux is in the "easy to use" 
category. Something the Linux world should look ast.

I am a Linux supporter and love it. I'm saying this to help make it better.

-- 
Marc Perkel - marc@perkel.com

Spam Filter: http://www.junkemailfilter.com
    My Blog: http://marc.perkel.com


  reply	other threads:[~2005-10-05 19:31 UTC|newest]

Thread overview: 246+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4TiWy-4HQ-3@gated-at.bofh.it>
2005-10-02 22:43 ` what's next for the linux kernel? Robert Hancock
2005-10-02 23:32   ` Gene Heskett
2005-10-02 23:41     ` Vadim Lobanov
2005-10-02 23:48     ` Rik van Riel
2005-10-03  3:50       ` Gene Heskett
2005-10-03  9:39         ` Jesper Juhl
     [not found] ` <4U0XH-3Gp-39@gated-at.bofh.it>
2005-10-04 22:04   ` Bodo Eggert
2005-10-05 10:36     ` Luke Kenneth Casson Leighton
2005-10-05 23:12       ` Nix
2005-10-05 23:28         ` Luke Kenneth Casson Leighton
2005-10-05 23:49           ` Nix
2005-10-05 14:34     ` Nix
2005-10-05 14:41       ` Marc Perkel
2005-10-05 14:44         ` Lennart Sorensen
2005-10-05 14:48           ` Marc Perkel
2005-10-05 14:56             ` Lennart Sorensen
2005-10-05 15:08               ` Marc Perkel
2005-10-05 15:26                 ` Lennart Sorensen
2005-10-05 19:16                 ` Nix
2005-10-05 19:30                   ` Marc Perkel [this message]
2005-10-05 20:26                     ` Nix
2005-10-08 16:49                     ` Denis Vlasenko
2005-10-05 19:40                   ` Al Viro
2005-10-05 19:49                     ` Marc Perkel
2005-10-05 19:55                       ` Lennart Sorensen
2005-10-05 20:25                     ` linux-os (Dick Johnson)
2005-10-05 20:31                 ` Nix
2005-10-05 14:59             ` Nigel Rantor
2005-10-05 16:16             ` Bodo Eggert
2005-10-05 19:37             ` Florin Malita
2005-10-05 19:44               ` Marc Perkel
2005-10-05 19:52                 ` Lennart Sorensen
2005-10-05 20:05                   ` Marc Perkel
2005-10-05 20:23                     ` Lennart Sorensen
2005-10-06  2:56                     ` Horst von Brand
2005-10-06  3:50                       ` Marc Perkel
2005-10-06  4:12                         ` Please STOP ! [was: what's next for the linux kernel?] Willy Tarreau
2005-10-06  3:19                           ` [VERY-OT SCOX Crap] " jmerkey
2005-10-05 20:21                 ` what's next for the linux kernel? Valdis.Kletnieks
2005-10-05 20:58                 ` Dave Neuer
2005-10-05 21:05                 ` Bodo Eggert
2005-10-07 14:14                   ` 'Undeleting' an open file Giuseppe Bilotta
2005-10-07 14:25                     ` Bernd Petrovitsch
2005-10-07 14:25                     ` Jose Celestino
2005-10-07 14:30                     ` Ian Campbell
2005-10-07 14:43                       ` Bernd Petrovitsch
2005-10-07 15:04                         ` Andreas Schwab
2005-10-07 15:14                         ` Alex Riesen
2005-10-07 15:51                           ` Bernd Petrovitsch
2005-10-07 14:30                     ` Miquel van Smoorenburg
2005-10-07 17:25                       ` Giuseppe Bilotta
2005-10-06  6:43                 ` what's next for the linux kernel? Steven Rostedt
2005-10-05 19:54             ` Bernd Petrovitsch
2005-10-07  0:11             ` Joe Bob Spamtest
2005-10-05 14:52           ` linux-os (Dick Johnson)
2005-10-05 14:57             ` Lennart Sorensen
2005-10-05 15:26               ` linux-os (Dick Johnson)
2005-10-05 15:24         ` Luke Kenneth Casson Leighton
2005-10-05 15:30           ` Lennart Sorensen
2005-10-05 15:42             ` Luke Kenneth Casson Leighton
2005-10-05 15:55               ` Lennart Sorensen
2005-10-06 15:41                 ` Ragnar Hojland Espinosa
2005-10-05 14:55       ` David Leimbach
2005-10-05 16:25         ` Bodo Eggert
2005-10-05 16:41           ` David Leimbach
2005-10-05 19:21             ` Nix
2005-10-05 23:23             ` Luke Kenneth Casson Leighton
2005-10-06  9:53               ` grundig
2005-10-06 10:45                 ` Tomasz Kłoczko
2005-10-06 15:18                 ` Greg Norris
2005-10-05 20:27     ` Marc Perkel
2005-10-05 20:41       ` Julian Blake Kongslie
2005-10-05 20:51         ` Bas Westerbaan
2005-10-05 20:57           ` Julian Blake Kongslie
     [not found]   ` <4Uis4-4pZ-5@gated-at.bofh.it>
2005-10-05 17:43     ` Bodo Eggert
2005-10-05 19:27       ` Nix
2005-10-05 20:04         ` Bodo Eggert
2005-10-06 23:24 Joe Bob Spamtest
  -- strict thread matches above, loose matches on Subject: below --
2005-10-06  3:53 Nikolay N. Ivanov
     [not found] <DE88BDF02F4319469812588C7950A97E9312A6@ussunex1.palmsource.com>
2005-10-06  0:03 ` Luke Kenneth Casson Leighton
2005-10-06  0:14   ` David S. Miller
2005-10-06  1:11     ` Nigel Rantor
2005-10-06 11:10     ` Luke Kenneth Casson Leighton
2005-10-06 15:44       ` Al Viro
2005-10-06  0:51   ` Howard Chu
     [not found] <mail.linux.kernel/20051003203037.GG8548@lkcl.net>
     [not found] ` <05Oct4.173802edt.33143@gpu.utcc.utoronto.ca>
2005-10-05 12:07   ` Luke Kenneth Casson Leighton
2005-10-05 12:31     ` Jens Axboe
2005-10-05 13:35       ` Luke Kenneth Casson Leighton
2005-10-05 13:40         ` Jens Axboe
2005-10-05 15:29           ` Luke Kenneth Casson Leighton
2005-10-05 15:51             ` Jens Axboe
2005-10-05 16:38               ` Steven Rostedt
2005-10-05 23:24                 ` Luke Kenneth Casson Leighton
2005-10-05 17:01     ` Dave Neuer
     [not found]     ` <161717d50510050957t2eaa3af0u8c6b3b4d327497a9@mail.gmail.com>
2005-10-05 23:05       ` Luke Kenneth Casson Leighton
2005-10-04  4:11 Martin Fouts
2005-10-02 20:47 Luke Kenneth Casson Leighton
2005-10-02 21:05 ` Rik van Riel
2005-10-02 23:05   ` Luke Kenneth Casson Leighton
2005-10-02 23:26     ` Rik van Riel
2005-10-03  1:26       ` Luke Kenneth Casson Leighton
2005-10-03  1:53         ` Rik van Riel
2005-10-02 23:37     ` Vadim Lobanov
2005-10-03  0:54       ` Luke Kenneth Casson Leighton
2005-10-03  1:20         ` Vadim Lobanov
2005-10-03  1:47           ` Al Viro
2005-10-03  1:50             ` Vadim Lobanov
2005-10-03  1:53               ` Al Viro
2005-10-03  2:00                 ` Luke Kenneth Casson Leighton
2005-10-03  9:34                 ` Erik Mouw
2005-10-03  1:53           ` Luke Kenneth Casson Leighton
2005-10-03  2:31             ` Vadim Lobanov
2005-10-02 23:14               ` D. Hazelton
2005-10-03 10:36             ` Giuseppe Bilotta
2005-10-03 21:34               ` Nix
2005-10-03 18:19             ` Lennart Sorensen
2005-10-04 12:53               ` Luke Kenneth Casson Leighton
2005-10-04 13:13                 ` linux-os (Dick Johnson)
2005-10-04 13:47                 ` Lennart Sorensen
2005-10-04 17:12                   ` Bill Davidsen
2005-10-04 16:20                 ` Gene Heskett
2005-10-03  2:12         ` Horst von Brand
2005-10-03 16:32           ` Valdis.Kletnieks
2005-10-03 19:02             ` Luke Kenneth Casson Leighton
2005-10-03  2:55         ` Valdis.Kletnieks
2005-10-03  3:25           ` Rik van Riel
2005-10-03 19:13           ` Alan Cox
2005-10-03 21:22           ` Luke Kenneth Casson Leighton
2005-10-03  5:03         ` Sonny Rao
2005-10-03 21:12           ` Luke Kenneth Casson Leighton
2005-10-03 23:46             ` Sonny Rao
2005-10-03 19:18         ` Alan Cox
2005-10-03 21:07           ` Luke Kenneth Casson Leighton
2005-10-03 22:05             ` Alan Cox
2005-10-04 14:01               ` Andi Kleen
2005-10-04  3:51             ` Valdis.Kletnieks
2005-10-03  0:04     ` Martin J. Bligh
2005-10-03  0:14       ` Randy.Dunlap
2005-10-03  0:44         ` Luke Kenneth Casson Leighton
2005-10-03  7:50           ` Meelis Roos
2005-10-03 18:08             ` Lennart Sorensen
2005-10-03 18:28               ` linux-os (Dick Johnson)
2005-10-03 20:00                 ` Jon Masters
2005-10-03 18:56               ` Luke Kenneth Casson Leighton
2005-10-03  1:10       ` Luke Kenneth Casson Leighton
2005-10-03  1:18         ` Rik van Riel
2005-10-03  1:27         ` Chase Venters
2005-10-04 12:59           ` Luke Kenneth Casson Leighton
2005-10-04 15:01             ` Tushar Adeshara
2005-10-04 15:04             ` Nikita Danilov
2005-10-04 15:58               ` Luke Kenneth Casson Leighton
2005-10-04 16:17               ` Luke Kenneth Casson Leighton
2005-10-04 17:15                 ` Nikita Danilov
2005-10-04 17:23                   ` Luke Kenneth Casson Leighton
2005-10-04 17:40                     ` Nikita Danilov
2005-10-04 17:30                 ` Rik van Riel
2005-10-06  0:07                   ` Luke Kenneth Casson Leighton
2005-10-06  9:56                     ` David Weinehall
2005-10-06 17:23                     ` Rik van Riel
2005-10-06 19:22                       ` Luke Kenneth Casson Leighton
2005-10-07  0:38                         ` Luke Kenneth Casson Leighton
2005-10-07  1:10                           ` Al Viro
2005-10-07  0:40                         ` Luke Kenneth Casson Leighton
2005-10-03 17:56         ` Joe Bob Spamtest
     [not found]           ` <20051003185804.GB8548@lkcl.net>
     [not found]             ` <43418834.6070400@spamtest.viacore.net>
2005-10-03 20:30               ` Luke Kenneth Casson Leighton
2005-10-02 22:49 ` Christoph Hellwig
2005-10-02 23:24   ` Luke Kenneth Casson Leighton
2005-10-03  4:04     ` Willy Tarreau
2005-10-03  0:38   ` Kurt Wall
2005-10-03  0:36 ` Kurt Wall
2005-10-03  0:43   ` David Leimbach
2005-10-03  5:45 ` Nick Piggin
2005-10-03 14:20 ` Jon Masters
2005-10-03 16:00   ` Miklos Szeredi
2005-10-03 19:12     ` Luke Kenneth Casson Leighton
2005-10-03 19:31       ` Miklos Szeredi
2005-10-03 20:22   ` Luke Kenneth Casson Leighton
2005-10-03 21:55     ` Jon Masters
2005-10-04  1:33     ` Jason Stubbs
2005-10-04 12:22       ` Luke Kenneth Casson Leighton
2005-10-04 19:47 ` Marc Perkel
2005-10-04 21:15   ` Luke Kenneth Casson Leighton
2005-10-04 23:40   ` Chase Venters
2005-10-05  5:35     ` Valdis.Kletnieks
2005-10-05 10:07       ` Luke Kenneth Casson Leighton
2005-10-05  6:54     ` Steven Rostedt
2005-10-05 10:03       ` Luke Kenneth Casson Leighton
2005-10-05 10:26     ` Luke Kenneth Casson Leighton
2005-10-05 11:04       ` Diego Calleja
2005-10-06 19:15         ` Luke Kenneth Casson Leighton
2005-10-06  5:04       ` Chase Venters
2005-10-06 15:10         ` Michael Concannon
2005-10-06 19:28           ` Luke Kenneth Casson Leighton
2005-10-06 20:13             ` Michael Concannon
2005-10-06 20:22               ` Michael Concannon
2005-10-06 21:05               ` Luke Kenneth Casson Leighton
2005-10-06 21:20               ` Luke Kenneth Casson Leighton
2005-10-06 21:53                 ` Michael Concannon
2005-10-06 22:24                   ` Luke Kenneth Casson Leighton
2005-10-06 22:41                     ` Michael Concannon
2005-10-06 22:41                     ` Michael Concannon
2005-10-07  1:05                 ` Howard Chu
2005-10-08 22:27                 ` Helge Hafting
2005-10-08 22:42                   ` Luke Kenneth Casson Leighton
2005-10-05  0:59   ` Horst von Brand
2005-10-05  1:22   ` D. Hazelton
2005-10-05  5:49     ` Marc Perkel
2005-10-05  6:03       ` Valdis.Kletnieks
2005-10-05  9:24       ` Nikita Danilov
2005-10-05  9:56         ` Luke Kenneth Casson Leighton
2005-10-05 10:30           ` Nikita Danilov
2005-10-05 11:13             ` Luke Kenneth Casson Leighton
2005-10-05 12:17               ` Nikita Danilov
2005-10-05 12:36                 ` Luke Kenneth Casson Leighton
2005-10-05 18:47           ` Horst von Brand
2005-10-05 23:03             ` Luke Kenneth Casson Leighton
2005-10-05 21:55               ` jmerkey
2005-10-05 23:36                 ` Neil Brown
2005-10-05 22:21                   ` jmerkey
2005-10-05 23:42                   ` David Leimbach
2005-10-06  3:06               ` Horst von Brand
2005-10-06 10:54                 ` Luke Kenneth Casson Leighton
2005-10-06  8:03               ` Valdis.Kletnieks
2005-10-06  9:31                 ` Helge Hafting
2005-10-06 14:40                   ` Horst von Brand
2005-10-06 18:34                   ` Valdis.Kletnieks
2005-10-05 11:16         ` Luke Kenneth Casson Leighton
2005-10-05 13:21         ` Marc Perkel
2005-10-05 13:52           ` Nikita Danilov
2005-10-05 23:53           ` Helge Hafting
2005-10-05 16:36         ` Tim Bird
2005-10-05 13:45       ` D. Hazelton
2005-10-05 10:09     ` Luke Kenneth Casson Leighton
2005-10-05 10:23       ` Valdis.Kletnieks
2005-10-05 11:14         ` Luke Kenneth Casson Leighton
2005-10-05 14:17   ` Nix
2005-10-05 15:54   ` Rik van Riel
2005-10-05 15:58     ` Marc Perkel
2005-10-05 16:15       ` Al Viro
2005-10-05 16:23         ` Marc Perkel
2005-10-05 19:30           ` Lennart Sorensen
2005-10-05 22:48             ` Luke Kenneth Casson Leighton
2005-10-06 10:28               ` Nikita Danilov
2005-10-07  0:59               ` Joe Bob Spamtest
2005-10-07  0:25       ` Joe Bob Spamtest
2005-10-05 20:11     ` Luke Kenneth Casson Leighton

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=434429F2.7030400@perkel.com \
    --to=marc@perkel.com \
    --cc=7eggert@gmx.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=lkcl@lkcl.net \
    --cc=lsorense@csclub.uwaterloo.ca \
    --cc=nix@esperi.org.uk \
    /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.