Magenaut

Magenaut

A blog about Magento Development, Magento bug fixing, and more

Skip to content
Menu
  • Home
  • Notes
  • Tutorial
  • Bug fixing
  • Extension
  • Server
  • Q&A
  • About

Tag: selinux

Q&APosted onAugust 10, 2022

Configure SELinux to allow daemons to use files in non-default locations

I have a daemon (apache/samba/vsftpd/…) running on SELinux enabled system and I need to allow it to use files in a non-default location. The standard file permissions are configured to allow access.

Read More
Q&APosted onAugust 9, 2022

How do I edit a file and preserve its access control list / SELinux security context?

I’m on CentOS 6.2, and have a file with the alternate access method character displayed as a dot.

Read More
Q&APosted onAugust 9, 2022

httpd can’t write to folder/file because of SELinux

Does anyone know which sebool it is to allow httpd write access to /home/user/html?
When I disable SELinux echo 0 > /selinux/enforce I can write, so my problem is definitely related to SELinux. I just don’t know which one is the right one without opening a big hole and Google isn’t being much help.

Read More
Q&APosted onAugust 8, 2022

How to prevent a process from writing files

I want to run a command on Linux in a way that it cannot create or open any files to write. It should still be able to read files as normal (so an empty chroot is not an option), and still be able to write to files already open (especially stdout).

Read More
Q&APosted onAugust 6, 2022

how to create a custom SELinux label

I wrote a service/single binary app that I’m trying to run on Fedora 24, it runs using systemd, the binary is deployed to /srv/bot

Read More
Q&APosted onAugust 6, 2022

How to copy SELinux context from one directory and apply it to another directory?

How can I copy SELinux context from one directory and apply it to another?

Read More

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 140 other subscribers

Recent Comments

  • anonymous on Fix libwacom9 dependency issue when upgrade Debian
  • sreedhar on Fix libwacom9 dependency issue when upgrade Debian
  • saintnick on Fix libwacom9 dependency issue when upgrade Debian
  • ranafoul on Fix libwacom9 dependency issue when upgrade Debian
  • John Fro on UFW rule from a list of IPs

Tags

ajax bash block-editor categories command-line custom-field custom-post-types custom-taxonomy customization debian files filesystems filters functions grep hooks images javascript linux loop menus permalinks permissions php plugin-development plugins posts python rest-api security sed shell shell-script shortcode ssh terminal text-processing theme-development themes uploads url-rewriting users woocommerce-offtopic wp-admin wp-query

© Magenaut - The Magento Astronaut