chiark / gitweb /
really: Document -R option in the manpage. Closes:#693354.
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 Nov 2013 18:28:57 +0000 (18:28 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 29 Nov 2013 18:28:57 +0000 (18:28 +0000)
cprogs/really.8
debian/changelog

index 45bca20fc4222b4090dd9013c7a8f878534c5af6..fb21f058d457e286e0262067d7d6e9b95a9ccd34 100644 (file)
@@ -8,11 +8,11 @@ really \- gain privilege or run commands a different user
 .SH DESCRIPTION
 .B really
 checks whether the caller is allowed, and if it is it changes its uids
-and gids according to the command line options and executes the
-specified command.
+and gids (and perhaps root directory) according to the command line
+options and executes the specified command.
 .PP
 If no options are specified, the uid will be set to 0 and the gids
-will be left unchanged.
+and root directory will be left unchanged.
 .PP
 If no command is specified,
 .B really
@@ -68,6 +68,17 @@ relative position of
 .B -z
 in the argument list is not relevant.
 .TP
+\fB-R\fR \fIroot-dir\fR | \fB--chroot\fR \fIroot-dir\fR
+The program will have its root directory set to
+.IR root-dir .
+
+.BR "Do not use this option unless you know what you are doing" :
+Unlike chroot(8), the current working directory will remain unchanged.
+This means that if the current directory isn't underneath the
+specified new root, the program will still be able to access files
+outside the new root by using relative pathnames.  If this isn't
+what you want, please use the chroot utility instead.
+.TP
 .B \-\-
 Indicates the end of the options.  The next argument (if present) will
 be interpreted as the command name, even if it starts with a hyphen.
@@ -126,7 +137,7 @@ This version of
 .B really
 was written by Ian Jackson <ian@chiark.greenend.org.uk>.
 .PP
-It and this manpage are Copyright (C) 1992-5,2003 Ian Jackson
+It and this manpage are Copyright (C) 1992-5,2004,2013 Ian Jackson
 <ian@chiark.greenend.org.uk>.
 .PP
 .B really
index 62433bf12326c01f4cf3a7848206ee58899a2834..a17ffd004847883d8903956bca0643a4d4bca397 100644 (file)
@@ -1,6 +1,7 @@
 chiark-utils (4.2.1~~iwj4) unstable; urgency=low
 
   * really: Add "danger!" warning to usage message description of -R.
+  * really: Document -R option in the manpage.  Closes:#693354.
 
  --