瀏覽代碼

man: Document in dpkg-statoverride the format to specify mode

Closes: #534551
Guillem Jover 17 年之前
父節點
當前提交
ee21a3b944
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 2 0
      debian/changelog
  2. 2 1
      man/dpkg-statoverride.8

+ 2 - 0
debian/changelog

@@ -7,6 +7,8 @@ dpkg (1.15.3) UNRELEASED; urgency=low
   * Rewrite dpkg-name in perl.
   * Rewrite dpkg-name in perl.
   * Do not close already closed files in some error conditions in libdpkg.
   * Do not close already closed files in some error conditions in libdpkg.
   * Use the correct units (KiB) in dpkg-split when referring to partsize.
   * Use the correct units (KiB) in dpkg-split when referring to partsize.
+  * Document in dpkg-statoverride(8) that mode needs to be specified in
+    octal. Closes: #534551
 
 
   [ Raphael Hertzog ]
   [ Raphael Hertzog ]
   * Unset TAR_OPTIONS when creating/extracting tar archives for source
   * Unset TAR_OPTIONS when creating/extracting tar archives for source

+ 2 - 1
man/dpkg-statoverride.8

@@ -28,7 +28,8 @@ Add an override for \fBfile\fR. \fBfile\fR does not need to exist
 when this command is used; the override will be stored and used later.
 when this command is used; the override will be stored and used later.
 Users and groups can be specified by their name (for example \fBroot\fR
 Users and groups can be specified by their name (for example \fBroot\fR
 or \fBnobody\fR), or by their number by prepending the number with a
 or \fBnobody\fR), or by their number by prepending the number with a
-`\fB#\fR' (for example \fB#0\fR or \fB#65534\fR).
+`\fB#\fR' (for example \fB#0\fR or \fB#65534\fR). The \fImode\fR needs
+to be specified in octal.
 
 
 If \-\-update is specified and \fBfile\fR exists, it is immediately
 If \-\-update is specified and \fBfile\fR exists, it is immediately
 set to the new owner and mode.
 set to the new owner and mode.