summaryrefslogtreecommitdiffstats
path: root/doc/appendix
diff options
context:
space:
mode:
authorSol Jerome <sol.jerome@gmail.com>2012-10-15 13:32:14 -0500
committerSol Jerome <sol.jerome@gmail.com>2012-10-15 13:32:14 -0500
commitca1237602fff7678041e8c338b067453c267712d (patch)
treeafc30aa6af60355fe7dde700a26fba71bf7ec372 /doc/appendix
parentcc4b4e645158f26313a306b0f445987164a2e472 (diff)
downloadbcfg2-ca1237602fff7678041e8c338b067453c267712d.tar.gz
bcfg2-ca1237602fff7678041e8c338b067453c267712d.tar.bz2
bcfg2-ca1237602fff7678041e8c338b067453c267712d.zip
POSIX: Switch from perms to mode
Bcfg2 has traditionally used the 'perms' attribute to specify the file mode for POSIX entries. Switching to a 'mode' attribute will allow us to be more consistent with other tools as well as POSIX itself. Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc/appendix')
-rw-r--r--doc/appendix/guides/centos.txt2
-rw-r--r--doc/appendix/guides/converging_rhel5.txt8
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/appendix/guides/centos.txt b/doc/appendix/guides/centos.txt
index 50334ccbc..5a2d1bed0 100644
--- a/doc/appendix/guides/centos.txt
+++ b/doc/appendix/guides/centos.txt
@@ -497,7 +497,7 @@ file that looks like the following:
.. code-block:: xml
<FileInfo>
- <Info owner='root' group='root' perms='0644' important='true'/>
+ <Info owner='root' group='root' mode='0644' important='true'/>
</FileInfo>
Now, running the client shows only unmanaged Service entries. Woohoo!
diff --git a/doc/appendix/guides/converging_rhel5.txt b/doc/appendix/guides/converging_rhel5.txt
index 1b52e198d..d6883c778 100644
--- a/doc/appendix/guides/converging_rhel5.txt
+++ b/doc/appendix/guides/converging_rhel5.txt
@@ -65,8 +65,8 @@ For a "Package"
.. code-block:: xml
<Rules priority="0">
- <Directory name="/etc/cron.hourly" group="root" owner="root" perms="0700" />
- <Directory name="/etc/cron.daily" group="root" owner="root" perms="0700" />
+ <Directory name="/etc/cron.hourly" group="root" owner="root" mode="0700" />
+ <Directory name="/etc/cron.daily" group="root" owner="root" mode="0700" />
</Rules>
* Multiple instances
@@ -111,9 +111,9 @@ For a "Path"
<FileInfo>
<Group name='webserver'>
- <Info owner='root' group='root' perms='0652'/>
+ <Info owner='root' group='root' mode='0652'/>
</Group>
- <Info owner='root' group='sys' perms='0651'/>
+ <Info owner='root' group='sys' mode='0651'/>
</FileInfo>
Other troubleshooting tools