ossp-pkg/shtool/shtool.pod 1.59 -> 1.60
--- shtool.pod 2002/07/11 17:23:25 1.59
+++ shtool.pod 2002/11/02 12:35:56 1.60
@@ -445,7 +445,7 @@
shtool install -c -m 644 foo.man $(mandir)/man1/foo.1
shtool install -c -m 644 -e "s/@p@/$prefix/g" foo.conf $(etcdir)/
-=item B<mkdir> [B<-t>|B<--trace>] [B<-f>|B<--force>] [B<-p>|B<--parents>] [B<-m>|B<--mode> I<mode>] I<dir> [I<dir> ...]
+=item B<mkdir> [B<-t>|B<--trace>] [B<-f>|B<--force>] [B<-p>|B<--parents>] [B<-m>|B<--mode> I<mode>] [B<-o>|B<--owner> I<owner>] [B<-g>|B<--group> I<group>] I<dir> [I<dir> ...]
This is a mkdir(1) style command providing support for automatic parent
directory creation (if option ``B<-p>'' is used), directory permission
@@ -453,7 +453,10 @@
the formats specified to the chmod(1) command) and smart skipping if
I<dir> already exists (triggered by the force option ``B<-f>''). Option
``B<-t>'' (trace) can be used to enable the output of the essential
-shell commands which are executed.
+shell commands which are executed. The target directory is created with
+owner/group set to the current active uid/gid, but if this script is
+called as root (uid 0) the options ``B<-o>'' and ``B<-g>'' can be used
+to override this.
The trick of this command is that it provides both a portable ``B<-p>''
functionality and the ability to be smart if the directory already exists
|
|