<?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[How to alter root .bashrc]]></title><description><![CDATA[<p dir="auto">I am running about 20 of the Cloudron LAMP app instances.</p>
<p dir="auto">I have been updating them via WINSCP/FileZilla. I'm switching to doing a git pull (since all of the content is managed in a git repo).</p>
<p dir="auto">Currently I have to:</p>
<p dir="auto">su  www-data -c "git pull"</p>
<p dir="auto">Otherwise I get:</p>
<p dir="auto">root@16405153-e269-41e3-ab8d-095606d5b07e:/app/data/public/KNEL/FetchApply# git pull<br />
fatal: detected dubious ownership in repository at '/app/data/public/KNEL/FetchApply'<br />
To add an exception for this directory, call:</p>
<pre><code>    git config --global --add safe.directory /app/data/public/KNEL/FetchApply
</code></pre>
<p dir="auto">root@16405153-e269-41e3-ab8d-095606d5b07e:/app/data/public/KNEL/FetchApply#  git config --global --add safe.directory /app/data/public/KNEL/FetchApply<br />
error: could not lock config file /root/.gitconfig: Read-only file system</p>
<p dir="auto">I want to make an alias for the su -... command.</p>
<p dir="auto">Editing .bashrc says read only filesystem.</p>
]]></description><link>https://forum.cloudron.io/topic/14008/how-to-alter-root-.bashrc</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 08:06:42 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14008.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 30 Jun 2025 16:23:44 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to How to alter root .bashrc on Mon, 30 Jun 2025 19:46:56 GMT]]></title><description><![CDATA[<p dir="auto">I will put in a feature request now and we can discuss further in that thread. <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=11345d81604" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.cloudron.io/post/109479</link><guid isPermaLink="true">https://forum.cloudron.io/post/109479</guid><dc:creator><![CDATA[charlesnw]]></dc:creator><pubDate>Mon, 30 Jun 2025 19:46:56 GMT</pubDate></item><item><title><![CDATA[Reply to How to alter root .bashrc on Mon, 30 Jun 2025 17:31:18 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/charlesnw" aria-label="Profile: charlesnw">@<bdi>charlesnw</bdi></a><br />
Could this be converted to a feature request?</p>
<p dir="auto">Example:<br />
Make all apps include <code>/app/data/.cloudron_bashrc</code> if it exists, by default to make custom changes to the <code>.bashrc</code>.</p>
<p dir="auto">One idea how this could be implemented.<br />
Your thoughts?</p>
]]></description><link>https://forum.cloudron.io/post/109473</link><guid isPermaLink="true">https://forum.cloudron.io/post/109473</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Mon, 30 Jun 2025 17:31:18 GMT</pubDate></item><item><title><![CDATA[Reply to How to alter root .bashrc on Mon, 30 Jun 2025 16:26:31 GMT]]></title><description><![CDATA[<p dir="auto">In the interim I can utilize autohotkey/espanso to type that out for me. So it's not a big deal. Still, it would be nice to have a way to alter the bash environment (I would love to be able to use zsh on my cloudron server). I realize that interaction via the shell isn't really expected (as the primary UI) (vs the web ui).</p>
<p dir="auto">I'll want to roll out CI/CD soon (all my sites are mdbook, so I'll need to pull the compiled assets from the git repo), and will need to be able to git pull as part of that process.</p>
]]></description><link>https://forum.cloudron.io/post/109466</link><guid isPermaLink="true">https://forum.cloudron.io/post/109466</guid><dc:creator><![CDATA[charlesnw]]></dc:creator><pubDate>Mon, 30 Jun 2025 16:26:31 GMT</pubDate></item></channel></rss>