[lkml]   [1999]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:50    [W:0.049 / U:4.692 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site