summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2011-06-20 12:07:16 -0500
committerSol Jerome <sol.jerome@gmail.com>2011-06-20 12:20:05 -0500
commit19586bc42aa90543cf27e33ec32bd7df222138e8 (patch)
tree7a3643ff01c0921730d11814fff8e07c981f6c3a /doc
parent4f762722925113c56582a10dd4abead6cd84facc (diff)
downloadbcfg2-19586bc42aa90543cf27e33ec32bd7df222138e8.tar.gz
bcfg2-19586bc42aa90543cf27e33ec32bd7df222138e8.tar.bz2
bcfg2-19586bc42aa90543cf27e33ec32bd7df222138e8.zip
Cfg: Add support for perms='inherit' (Ticket #642)
This feature allows you to use the on-disk permissions of the file in the Cfg repository rather than specifying them using the traditional means in info.xml. Note that this only works for the octal permissions of the file on disk since the owner/group may not exist on the destination machine. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/server/info.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/server/info.txt b/doc/server/info.txt
index 231a83a52..f1154e665 100644
--- a/doc/server/info.txt
+++ b/doc/server/info.txt
@@ -41,6 +41,8 @@ possible fields in an info file are:
| paranoid: | yes | no | Backup file before replacement? | no |
+------------+-------------------+----------------------------------+---------+
| perms: | Numeric file mode | Sets the permissions of the file | 0644 |
+| | | 'inherit' | (or inherits from the files on | |
+| | | disk if set to inherit) | |
+------------+-------------------+----------------------------------+---------+
A sample info file for CGI script on a web server might look like::