Skip to content

Instantly share code, notes, and snippets.

@carlosocarvalho
Last active May 6, 2016 21:11
Show Gist options
  • Save carlosocarvalho/7b0a59e5abdd35922b4801585c96a8ae to your computer and use it in GitHub Desktop.
Save carlosocarvalho/7b0a59e5abdd35922b4801585c96a8ae to your computer and use it in GitHub Desktop.
Alterando contexto de segurança do linux centos 7

1 - Solução

  • add comand chcon -Rv --type=httpd_sys_rw_content_t /dir

2 - Solução add

  • /etc/selinux/config SELINUX=othervalue SELINUX=disabled
@carlosocarvalho
Copy link
Author

Isso se mostra importante quando não conseguimos permissões sobre determinadas pasta com o comando chmod.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment