<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[setup start.sh installs /etc/sudoers.d/cloudron with mode 0644 without chmod — visudo -c warns "bad permissions"]]></title><description><![CDATA[<p dir="auto">Hi, on Ubuntu 24.04 with box 10.1.x,</p>
<pre><code>visudo -c reports /etc/sudoers.d/cloudron
</code></pre>
<p dir="auto">: bad permissions, should be mode 0440.</p>
<p dir="auto"><strong>Cause</strong>: setup/start.sh copies the file with plain cp and no chmod, so it lands as 0644. Since <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a> runs at every update, a manual chmod 440 gets reverted each time.</p>
<p dir="auto">Not a privilege escalation (sudo only refuses group/world-writable files), but it trips visudo -c, which hardening/security audits run routinely.</p>
<p dir="auto"><strong>Suggestion</strong>: add chmod 0440 right after the cp in setup/start.sh (and mark the source file 0440 in the tarball).</p>
]]></description><link>https://forum.cloudron.io/topic/16232/setup-start.sh-installs-etc-sudoers.d-cloudron-with-mode-0644-without-chmod-visudo-c-warns-bad-permissions</link><generator>RSS for Node</generator><lastBuildDate>Thu, 05 Nov 2026 08:13:01 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/16232.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 01 Nov 2026 21:44:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to setup start.sh installs /etc/sudoers.d/cloudron with mode 0644 without chmod — visudo -c warns "bad permissions" on Mon, 02 Nov 2026 11:45:44 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for the report, this is fixed for next release with <a href="https://git.cloudron.io/platform/box/-/commit/480a96b6567650cae81c0fe14763ee9730a1e79d" target="_blank" rel="noopener noreferrer nofollow ugc">https://git.cloudron.io/platform/box/-/commit/480a96b6567650cae81c0fe14763ee9730a1e79d</a></p>
]]></description><link>https://forum.cloudron.io/post/132277</link><guid isPermaLink="true">https://forum.cloudron.io/post/132277</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 02 Nov 2026 11:45:44 GMT</pubDate></item></channel></rss>