diff --git a/CHANGELOG.md b/CHANGELOG.md index b4695bc..27ace59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This file is used to list changes made in each version of the selinux cookbook. ## Unreleased +- fix documentation for `selinux_fcontext` + ## 6.2.0 - *2024-07-15* ## 6.1.19 - *2024-07-15* diff --git a/documentation/selinux_fcontext.md b/documentation/selinux_fcontext.md index ab554e2..39573b8 100644 --- a/documentation/selinux_fcontext.md +++ b/documentation/selinux_fcontext.md @@ -36,12 +36,12 @@ Supported file types: ```ruby # Allow http servers (e.g. nginx/apache) to modify moodle files -selinux_policy_fcontext '/var/www/moodle(/.*)?' do +selinux_fcontext '/var/www/moodle(/.*)?' do secontext 'httpd_sys_rw_content_t' end # Adapt a symbolic link -selinux_policy_fcontext '/var/www/symlink_to_webroot' do +selinux_fcontext '/var/www/symlink_to_webroot' do secontext 'httpd_sys_rw_content_t' file_type 'l' end