Messages in this thread | | | Date | Tue, 23 Mar 1999 16:48:39 +0000 | From | Johan Myréen <> | Subject | Re: [RFC] Rights for hardlinks |
| |
Arvind Sankar wrote:
> On Tue, Mar 23, 1999 at 10:11:08AM -0500, Alexander Viro wrote: > > > > Access != write permissions. > > I think he has a point, though. You can hardlink even to a file with 0 perms.
The mode of the file is irrelevant. Access to a file is ruled by the permissions on the directory or directories leading to the file. Access to the *contents* of the file depends on the mode of the file itself. A directory contains files, the files contain data.
This according to the traditional Unix file permissions model, which is quite logical, IMHO.
Johan Myréen jem@iki.fi
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |