Research V3 development
authorKen Thompson <ken@research.uucp>
Thu, 15 Feb 1973 15:27:55 +0000 (10:27 -0500)
committerKen Thompson <ken@research.uucp>
Thu, 15 Feb 1973 15:27:55 +0000 (10:27 -0500)
Work on file man/man2/chown.2

Co-Authored-By: Dennis Ritchie <dmr@research.uucp>
Synthesized-from: v3

man/man2/chown.2 [new file with mode: 0644]

diff --git a/man/man2/chown.2 b/man/man2/chown.2
new file mode 100644 (file)
index 0000000..73702ee
--- /dev/null
@@ -0,0 +1,26 @@
+.pa 1
+.he 'CHOWN (II)'3/15/72'CHOWN (II)'
+.ti 0
+NAME           chown  --  change owner of file
+.sp
+.ti 0
+SYNOPSIS       sys chown; name; owner  / chown = 16.
+.sp
+.ti 0
+DESCRIPTION    The file
+whose name is given by the null-terminated string pointed
+to by name\b\b\b\b____ has its owner changed to owner\b\b\b\b\b_____.
+Only the present owner of a file (or the super-user) may
+donate the file to another user.  Also, one may not
+change the owner of a file with the set-user-ID bit
+on, otherwise one could create Trojan Horses.
+.sp
+.ti 0
+SEE ALSO       chown(I), uids(V)
+.sp
+.ti 0
+DIAGNOSTICS    The error bit (c-bit) is set
+on illegal owner changes.
+.sp
+.ti 0
+BUGS           --