Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #133 Use semange -f 'all files' on RHEL6 #138

Merged
merged 1 commit into from Dec 14, 2016

Conversation

traylenator
Copy link
Contributor

The command

semanage fcontext -a -f a -t httpd_tmp_t /usr/share/nginx

fails on RHEL6 machines. This changes it to

semanage fcontext -a -f 'all files' -t httpd_tmp_t /usr/share/nginx

@traylenator
Copy link
Contributor Author

Note the change is uniquely to RHEL6 , on other OSes nothing changes.

@traylenator traylenator changed the title Fixes #133 Use semange -f 'all files' on RHEL6 WIP - Fixes #133 Use semange -f 'all files' on RHEL6 Nov 30, 2016
The command

```bash
semanage fcontext -a -f a -t httpd_tmp_t /usr/share/nginx
```

fails on RHEL6 machines. This changes it to

```bash
semanage fcontext -a -f 'all files' -t httpd_tmp_t /usr/share/nginx
```

* voxpupuli#133
@traylenator traylenator changed the title WIP - Fixes #133 Use semange -f 'all files' on RHEL6 Fixes #133 Use semange -f 'all files' on RHEL6 Nov 30, 2016
@traylenator traylenator reopened this Dec 12, 2016
@traylenator traylenator deleted the sl6 branch December 12, 2016 13:56
@traylenator traylenator restored the sl6 branch December 12, 2016 13:56
@traylenator traylenator reopened this Dec 12, 2016
@roidelapluie roidelapluie merged commit 3436c4d into voxpupuli:master Dec 14, 2016
@roidelapluie
Copy link
Member

Thanks!

EmRowlands pushed a commit to EmRowlands/puppet-selinux that referenced this pull request Mar 29, 2023
Fixes voxpupuli#133 Use semange -f 'all files' on RHEL6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants