<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>selinux — LowEndSpirit</title>
        <link>https://staging.lowendspirit.com/index.php?p=/</link>
        <pubDate>Sat, 11 Apr 2026 19:13:22 +0000</pubDate>
        <language>en</language>
            <description>selinux — LowEndSpirit</description>
    <atom:link href="https://staging.lowendspirit.com/index.php?p=/discussions/tagged/selinux/feed.rss" rel="self" type="application/rss+xml"/>
    <item>
        <title>Unable to update WordPress due to incorrect file permission</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/4474/unable-to-update-wordpress-due-to-incorrect-file-permission</link>
        <pubDate>Fri, 19 Aug 2022 05:54:44 +0000</pubDate>
        <category>Help</category>
        <dc:creator>lesuser</dc:creator>
        <guid isPermaLink="false">4474@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>I am getting error while updating plugin. This is Oracle Linux Arm Ampere instance.</p>

<blockquote><div>
  <p>An error occurred while updating Akismet Anti-Spam: Could not create directory.</p>
</div></blockquote>

<p>I have applied following permission on files and folders.</p>

<pre><code>sudo chown -R nginx:nginx /var/www/mysite/html
sudo find /var/www/mysite/html -type d -exec chmod 755 {} \;
sudo find /var/www/mysite/html -type f -exec chmod 644 {} \;
</code></pre>

<p>I have another WordPress site on VirMach VPS with same permission and there it updates fine. Here's result of <code>ls -l</code></p>

<pre><code>[opc@arm html]$ ls -l
total 212
-rw-r--r--  1 nginx nginx   405 Feb  6  2020 index.php
-rw-r--r--  1 nginx nginx 19915 Jan  1  2022 license.txt
-rw-r--r--  1 nginx nginx  7401 Mar 22 21:11 readme.html
-rw-r--r--  1 nginx nginx  7165 Jan 21  2021 wp-activate.php
drwxr-xr-x  9 nginx nginx  4096 Jul 12 16:16 wp-admin
-rw-r--r--  1 nginx nginx   351 Feb  6  2020 wp-blog-header.php
-rw-r--r--  1 nginx nginx  2338 Nov  9  2021 wp-comments-post.php
-rw-r--r--  1 nginx nginx  3230 Aug 18 17:53 wp-config.php
drwxr-xr-x  4 nginx nginx    52 Jul 12 16:16 wp-content
-rw-r--r--  1 nginx nginx  3943 Apr 28 09:49 wp-cron.php
drwxr-xr-x 26 nginx nginx 12288 Jul 12 16:16 wp-includes
-rw-r--r--  1 nginx nginx  2494 Mar 19 20:31 wp-links-opml.php
-rw-r--r--  1 nginx nginx  3973 Apr 12 01:47 wp-load.php
-rw-r--r--  1 nginx nginx 48498 Apr 29 14:36 wp-login.php
-rw-r--r--  1 nginx nginx  8577 Mar 22 16:25 wp-mail.php
-rw-r--r--  1 nginx nginx 23706 Apr 12 09:26 wp-settings.php
-rw-r--r--  1 nginx nginx 32051 Apr 11 11:42 wp-signup.php
-rw-r--r--  1 nginx nginx  4748 Apr 11 11:42 wp-trackback.php
-rw-r--r--  1 nginx nginx  3236 Jun  8  2020 xmlrpc.php
</code></pre>

<p>Site Health in WordPress says:</p>

<pre><code>Shows whether WordPress is able to write to the directories it needs access to.

The main WordPress directory    Not writable
The wp-content directory    Not writable
The uploads directory   Not writable
The plugins directory   Not writable
The themes directory    Not writable
</code></pre>

<p>But the other site on VirMach VPS says these folders are writeable.</p>

<p>SELinux is disabled.</p>
]]>
        </description>
    </item>
    <item>
        <title>Who uses SELinux on their systems and why?</title>
        <link>https://staging.lowendspirit.com/index.php?p=/discussion/449/who-uses-selinux-on-their-systems-and-why</link>
        <pubDate>Mon, 06 Jan 2020 01:46:44 +0000</pubDate>
        <category>Technical</category>
        <dc:creator>rchurch</dc:creator>
        <guid isPermaLink="false">449@/index.php?p=/discussions</guid>
        <description><![CDATA[<p>In the early days of SELinux, at least 10 years ago, it was so frustrating and admin tools were so inadequate that I always disabled it. I want to get back to it now and wonder if it has any fans here and why they use it?</p>

<p>If there are any users here  I have these questions for them:</p>

<p>What distro(s) do you use it with? I believe it is installed and configured automatically on Fedora/Redhat.</p>

<p>Do you use built-in settings, or customize for own use?</p>

<p>What admin tools come with it, what additional tools do you use?</p>

<p>Is it for own personal use,  workplace computer or server administration?</p>

<p>Which aspects of your system do you mostly use it for?</p>
]]>
        </description>
    </item>
   </channel>
</rss>
