lkml.org 
[lkml]   [1999]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: fsync on large files
Date
From
In message <19990222225331.03522@execpc.com>, Mitchell Blank Jr writes:
+-----
| Wayne Schlitt wrote:
| > You could royally screw up your file system with the ln command as
| > root, I don't even recall if ln checked for directories or if you had
| > to add a flag to force it.
|
| I don't think that's true... ln(1) doesn't seem to touch directories, nor
| does there seem to be an obvious flag (nor is one documented in the man
| page). UID 0 could call link(2) on a directory, though:
+--->8

AT&T System III shipped with /etc/link and /etc/unlink, "raw" versions of
ln and rm that didn't do the normal sanity checking. Root could use them to
perform otherwise "illegal" operations.

--
brandon s. allbery [os/2][linux][solaris][japh] allbery@kf8nh.apk.net
system administrator [WAY too many hats] allbery@ece.cmu.edu
carnegie mellon / electrical and computer engineering KF8NH
We are Linux. Resistance is an indication that you missed the point.

-
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/

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