Re: Apple's planned appoach to permissions on movable filesystems

1999-10-10 Thread Narvi
Sorry, this is somewhat late. On Wed, 6 Oct 1999, Wilfredo Sanchez wrote: > | Have you given consideration to systems where the user/group > database is > | kept for (possibly a large) number of computers in a centralised > manner by > | say hesiod or nys (nis+). It would be nice if there w

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-09 Thread Randell Jesup
Kris Kennaway <[EMAIL PROTECTED]> writes: >Make uids randomly assigned. This solves the problem of collision between >uids on an introduced medium and the ones on the local system by making it >statistical (if the uid space is large enough). In order to manage this >among multiple machines, you'd

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-08 Thread Brian Somers
[.] > Revisiting security now... > > A provision for public-key encryption of the data held on the disk (as > well as the id itself) would be useful. Just encrypting the ID alone > would not be useful. > > The distinction would then shift away from whether the media is r

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-07 Thread Kris Kennaway
Here's a passing thought I had which may be relevant. Make uids randomly assigned. This solves the problem of collision between uids on an introduced medium and the ones on the local system by making it statistical (if the uid space is large enough). In order to manage this among multiple machine

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-07 Thread Brian Somers
[.] > As I pointed out, the distinction is one of intent on the part of > the admin. Absolutely. > -- > Daniel C. Sobral (8-DCS) [.] -- Brian <[EMAIL PROTECTED]><[EMAIL PROTECTED]> <[EMAIL PRO

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-07 Thread Brian Somers
> | Please, don't give me this crap. "Removable media" is a very > | well-defined terminology. > > Only in screw-your-device-into-the-machine land. > > We're have to consider hot-swappable devices, including hard disks > and floppies and video cameras and new-uber-whatzit-media. The admin

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-07 Thread Darren R. Davis
Matthew Dillon wrote > > Revisiting security now... > > A provision for public-key encryption of the data held on the disk (as > well as the id itself) would be useful. Just encrypting the ID alone > would not be useful. > > The distinction would then shift away from whether

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-07 Thread Matthew Dillon
:On 6 Oct, Wilfredo Sanchez wrote: :> | I would rather brand the filesystem with the ID of the host. The :> | starting situation is an "unmarked" filesystem. If a host detects the :> | mounting of an "unmarked" filesystem, it will brand it with it's ID. If :> | it detects a filesystem that has

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Brian Somers
> >[.] > >> Instead we decided to leave all name <-> ID mapping systems unchanged and > >> rely on a distinction between "local" filesystems whose permissions > >> information should be used and a "foreign" filesystem mode where owner > >> and group IDs are ignored. > >[.] > > > >I thin

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Daniel C. Sobral
Wilfredo Sanchez wrote: > > | While it is certainly true that a person could eventually get > physical > | access into the machine, it is a significantly more difficult > task and > | therefore a significant distinction still exists between the > data stored > | on the hard drive

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Julian Elischer
On Thu, 7 Oct 1999, Alban Hertroys wrote: > On 6 Oct, Wilfredo Sanchez wrote: > > | I would rather brand the filesystem with the ID of the host. The > > | starting situation is an "unmarked" filesystem. If a host detects the > > | mounting of an "unmarked" filesystem, it will brand it with it

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Alban Hertroys
On 6 Oct, Wilfredo Sanchez wrote: > | I would rather brand the filesystem with the ID of the host. The > | starting situation is an "unmarked" filesystem. If a host detects the > | mounting of an "unmarked" filesystem, it will brand it with it's ID. If > | it detects a filesystem that has an ID

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Pat Dirks
>On 5 Oct, Pat Dirks wrote: > >Sorry if I'm talking nonsense or if somebody else already pointed this >out, i usually just lurk around this list, but if I'm right I think it >is of sufficient significance... > >> ADOPTING "FOREIGN" FILESYSTEMS >> >> When a new, never before seen disk is first mo

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Pat Dirks
>> ADOPTING "FOREIGN" FILESYSTEMS >> >> When a new, never before seen disk is first mounted in the system it's >> treated as "foreign". This can be changed (with "root" permissions) to >> make the filesystem "local". The filesystem's ID is added to the list of >> local filesystems and forever a

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Wilfredo Sanchez
| I think the owner and group of the person that mounted the filesystem | should be assigned to all files on that filesystem in FOREIGN mode. | -u and -g switches should be permitted to modify these, the -u being | restricted to root and the -g restricted to root or one of the groups | to

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Wilfredo Sanchez
| Have you given consideration to systems where the user/group database is | kept for (possibly a large) number of computers in a centralised manner by | say hesiod or nys (nis+). It would be nice if there was an easy interface | with these so that distributing the local system id numbers ne

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Wilfredo Sanchez
| While it is certainly true that a person could eventually get physical | access into the machine, it is a significantly more difficult task and | therefore a significant distinction still exists between the data stored | on the hard drive and stored in, say, a floppy. Th

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Wilfredo Sanchez
| I would rather brand the filesystem with the ID of the host. The | starting situation is an "unmarked" filesystem. If a host detects the | mounting of an "unmarked" filesystem, it will brand it with it's ID. If | it detects a filesystem that has an ID that differs from the host's ID, | it is

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread David Wolfskill
>Date: Wed, 6 Oct 1999 17:11:41 -0700 >From: Pat Dirks <[EMAIL PROTECTED]> >>This is very interesting, as a timesaver to the second option >>(overwriting) you could use the timestamp on the file's permissions >>to determine if the UID/GIDs are valid (if they are stale old uids, >>or new uid's aft

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Brooks Davis
On Wed, 6 Oct 1999, Pat Dirks wrote: > I'm sorry I didn't mention it in my original post but the plan is that > whenever a filesystem is "adopted" and the permissions are overwritten > the filesystem's ID is changed to prevent it being recognized as "local" > to any systems that previously kne

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Wilfredo Sanchez
| Please, don't give me this crap. "Removable media" is a very | well-defined terminology. Only in screw-your-device-into-the-machine land. We're have to consider hot-swappable devices, including hard disks and floppies and video cameras and new-uber-whatzit-media. -Fred --

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Pat Dirks
>[.] >> Instead we decided to leave all name <-> ID mapping systems unchanged and >> rely on a distinction between "local" filesystems whose permissions >> information should be used and a "foreign" filesystem mode where owner >> and group IDs are ignored. >[.] > >I think the owner and

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Pat Dirks
>On Tue, 5 Oct 1999, Pat Dirks wrote: > >> Hi, >> >> I'm the File Systems Tech Lead at Apple in the Mac OS X Core OS group. >> We've been struggling with the question of how best to handle permissions >> on disks that are moved between systems for Mac OS X and Mac OS X Server: >> the problem

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Brian Somers
[.] > Instead we decided to leave all name <-> ID mapping systems unchanged and > rely on a distinction between "local" filesystems whose permissions > information should be used and a "foreign" filesystem mode where owner > and group IDs are ignored. [.] I think the owner and group of

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Daniel C. Sobral
Joe Abley wrote: > > On Wed, Oct 06, 1999 at 11:18:59PM +0900, Daniel C. Sobral wrote: > > One would better assume that files available over NFS will be read > > by anyone who wants, and, likewise, that files available on > > removable media will be read by anyone who wants. That side of the > >

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Darren R. Davis
Narvi wrote: > On Tue, 5 Oct 1999, Pat Dirks wrote: > > > Hi, > > > > I'm the File Systems Tech Lead at Apple in the Mac OS X Core OS group. > > We've been struggling with the question of how best to handle permissions > > on disks that are moved between systems for Mac OS X and Mac OS X Server:

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Matthew Dillon
:Show me a disk that's _not_ removable. By your logic we would have _no_ :sguid/sgid binaries _ever._ : :Physical access to a machine is always a security risk. Why would you :treat easily-removable media any differently to slightly-harder-to-remove :media? You still need to break into the vault t

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Darren R. Davis
Alban Hertroys wrote: > On 5 Oct, Pat Dirks wrote: > > Sorry if I'm talking nonsense or if somebody else already pointed this > out, i usually just lurk around this list, but if I'm right I think it > is of sufficient significance... > > > ADOPTING "FOREIGN" FILESYSTEMS > > > > When a new, never

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Joe Abley
On Wed, Oct 06, 1999 at 11:18:59PM +0900, Daniel C. Sobral wrote: > One would better assume that files available over NFS will be read > by anyone who wants, and, likewise, that files available on > removable media will be read by anyone who wants. That side of the > problem does not belong to thi

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Narvi
On Wed, 6 Oct 1999, Darren R. Davis wrote: > Narvi wrote: > > > [snip] > > > > Have you given consideration to systems where the user/group database is > > kept for (possibly a large) number of computers in a centralised manner by > > say hesiod or nys (nis+). It would be nice if there was an e

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Alban Hertroys
On 5 Oct, Pat Dirks wrote: Sorry if I'm talking nonsense or if somebody else already pointed this out, i usually just lurk around this list, but if I'm right I think it is of sufficient significance... > ADOPTING "FOREIGN" FILESYSTEMS > > When a new, never before seen disk is first mounted in

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Narvi
On Tue, 5 Oct 1999, Pat Dirks wrote: > Hi, > > I'm the File Systems Tech Lead at Apple in the Mac OS X Core OS group. > We've been struggling with the question of how best to handle permissions > on disks that are moved between systems for Mac OS X and Mac OS X Server: > the problem is that

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Daniel C. Sobral
Conrad Minshall wrote: > > At 4:20 AM -0700 10/6/99, Daniel C. Sobral wrote: > > >It is no worse than uid/gid problems with NFS. > > Umm, what is this, FreeBSD-Humor? Thanks for the laugh, and remember, it's > just a nasty old rumor that NFS stands for "No File Security" :-/ This is no joke.

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Conrad Minshall
At 4:20 AM -0700 10/6/99, Daniel C. Sobral wrote: >It is no worse than uid/gid problems with NFS. Umm, what is this, FreeBSD-Humor? Thanks for the laugh, and remember, it's just a nasty old rumor that NFS stands for "No File Security" :-/ -- Conrad Minshall ... [EMAIL PROTECTED] ... 408 9

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-06 Thread Daniel C. Sobral
Pat Dirks wrote: > > ADOPTING "FOREIGN" FILESYSTEMS > > When a new, never before seen disk is first mounted in the system it's > treated as "foreign". This can be changed (with "root" permissions) to > make the filesystem "local". The filesystem's ID is added to the list of > local filesystems

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-05 Thread David Scheidt
On Tue, 5 Oct 1999, Pat Dirks wrote: > as "local". As part of this "adoption" process the users is prompted to > choose one of two ways to handle the existing permissions on the disk: > > * Retain them as-is (useful for cases where you have external > reasons to believe >the nume

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-05 Thread Alfred Perlstein
On Tue, 5 Oct 1999, Pat Dirks wrote: > Hi, > > I'm the File Systems Tech Lead at Apple in the Mac OS X Core OS group. > We've been struggling with the question of how best to handle permissions > on disks that are moved between systems for Mac OS X and Mac OS X Server: > the problem is that

Re: Apple's planned appoach to permissions on movable filesystems

1999-10-05 Thread David Wolfskill
>Date: Tue, 5 Oct 1999 14:19:22 -0700 >From: Pat Dirks <[EMAIL PROTECTED]> >[Lots of interesting, useful stuff elided -- dhw] >ADOPTING "FOREIGN" FILESYSTEMS >... >Note that one interesting option might be to provide a one-time-only >"adoption" which has no permanent effect; when the disk is

Apple's planned appoach to permissions on movable filesystems

1999-10-05 Thread Pat Dirks
Hi, I'm the File Systems Tech Lead at Apple in the Mac OS X Core OS group. We've been struggling with the question of how best to handle permissions on disks that are moved between systems for Mac OS X and Mac OS X Server: the problem is that numeric IDs in inodes (or their moral equivalent)