Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- Date: Tue, 02 Sep 2008 11:36:29 +0900
- From: "Stephen J. Turnbull" <stephen@example.com>
- Subject: Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- References: <48BBBF50.7020906@autotelic.com> <20080901113022.f5cc47b1.gstewart@bonivet.net> <48BBE994.70506@articlass.org>
Dave M G writes: > I always thought the whole permissions deal was a matter of the > operating system, not the disk file system. Koan: so how are permissions preserved with removable media (across mount points or even moving between hosts)? There has to be data regarding permissions associated with each file, and in fact it lives in the file's directory. It makes sense to keep that directory information in specially marked (ie, the d bit that you see when doing ls -l) files in the file system itself, you see? (In most Unix file systems, anyway, although even there the root directory needs special treatment because it doesn't have a name until mounted!) In the old days, many file system drivers didn't support UID/GID and group/world permissions as mount options. Instead, they took them from the mount point. Note that life once again gets complicated when you deal with networked file systems. NFS is designed to give as close to POSIX (== Unixoid local file system) semantics as possible, but even it has well-known problems. AFS, Coda, Intermezzo, and others should be considered suspect until you (or somebody you trust) determines what works and what doesn't. For example, Coda semantics allow operation even though disconnected from the server, but cache consistency requires that the whole file be in the cache. This means that open(2) can take many seconds or minutes for GB-size files like video. This can be a shock to naive programs and their users!
- Follow-Ups:
- Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- From: Tod McQuillin
- References:
- [tlug] Permissions are like Rubik's cubes
- From: Dave M G
- Re: [tlug] Permissions are like Rubik's cubes
- From: Godwin Stewart
- Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- From: Dave M G
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Peripheral hardware hunting
- Next by Date: [tlug] Effect of AI and data processing rift on the Semantic Web
- Previous by thread: Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- Next by thread: Re: [tlug] Permissions are like Rubik's cubes [SOLVED]
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links