<?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[Permission issues using mounts for app data storage]]></title><description><![CDATA[<p dir="auto">I've got the following setup and would like to use an external share mounted locally on the root file system of Cloudron for the data folder of an app:</p>
<ul>
<li>VirtualBox host</li>
<li>Ubuntu 20.04 guest with Cloudron</li>
<li>Sharing folders from VBox to Cloudron and mounting via fstab</li>
<li>The share is mounted on /mnt/test and is owned by yellowtent</li>
</ul>
<p dir="auto">I tried moving the data folder for both NextCloud and Cubby, which results in the data being successfully moved to the new home.</p>
<p dir="auto">However, in NextCloud's case it is unable to start the app as it fails to set a symlink:<br />
<code>ln: failed to create symbolic link '/app/data/core': Operation not permitted</code></p>
<p dir="auto">In Cubby, the app runs but you cannot create or edit anything:<br />
<code>POST /api/v1/files?path=%2Ftest&amp;access_token=&lt;redacted&gt;&amp;directory=true 500 Internal Server Error EACCES: permission denied, mkdir '/app/data/data/axel/test'</code></p>
<p dir="auto">Cubby looks ace by the way and I am looking to use it instead NextCloud <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=c3aa4c12b7e" 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/topic/6217/permission-issues-using-mounts-for-app-data-storage</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 18:08:54 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/6217.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 23 Dec 2021 16:07:31 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Fri, 06 Jan 2023 21:41:02 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> since it worked with my other NAS, I am pretty confident now that it is rather a Permission-Issue on the TrueNAS-Side which I dont understand well enough as of yet.</p>
<p dir="auto">Thanks for the link!</p>
]]></description><link>https://forum.cloudron.io/post/59499</link><guid isPermaLink="true">https://forum.cloudron.io/post/59499</guid><dc:creator><![CDATA[Jan Macenka]]></dc:creator><pubDate>Fri, 06 Jan 2023 21:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Wed, 04 Jan 2023 21:00:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> thanks for your patience... only just noticed this! All is good on my end and moved to a cloud-based node for my Cloudron.</p>
]]></description><link>https://forum.cloudron.io/post/59282</link><guid isPermaLink="true">https://forum.cloudron.io/post/59282</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Wed, 04 Jan 2023 21:00:07 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Wed, 04 Jan 2023 20:58:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a> said in <a href="/post/59246">Permission issues using mounts for app data storage</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-macenka" aria-label="Profile: Jan-Macenka">@<bdi>Jan-Macenka</bdi></a> for permission related issues, I had created <a href="https://docs.cloudron.io/volumes/#sharing" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/volumes/#sharing</a> perviously. Can you check that section ?</p>
</blockquote>
<p dir="auto">Thanks for the quick answer. Will look into the suggested work-around tomorrow!</p>
]]></description><link>https://forum.cloudron.io/post/59281</link><guid isPermaLink="true">https://forum.cloudron.io/post/59281</guid><dc:creator><![CDATA[Jan Macenka]]></dc:creator><pubDate>Wed, 04 Jan 2023 20:58:27 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Wed, 04 Jan 2023 15:39:08 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jan-macenka" aria-label="Profile: Jan-Macenka">@<bdi>Jan-Macenka</bdi></a> for permission related issues, I had created <a href="https://docs.cloudron.io/volumes/#sharing" target="_blank" rel="noopener noreferrer nofollow ugc">https://docs.cloudron.io/volumes/#sharing</a> perviously. Can you check that section ?</p>
]]></description><link>https://forum.cloudron.io/post/59246</link><guid isPermaLink="true">https://forum.cloudron.io/post/59246</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 04 Jan 2023 15:39:08 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Wed, 04 Jan 2023 14:02:25 GMT]]></title><description><![CDATA[<p dir="auto">Having a similar issue right now and would need help getting my setup to work.</p>
<p dir="auto">My Setup:</p>
<p dir="auto">Everything is running on my physical Server with 2xSSD and 1x NVMe.</p>
<p dir="auto">Proxmox as Virtualzation pattform running "bare-metal" on the Server taking the NVMe Disk.</p>
<p dir="auto">1x VM operating TrueNAS as a virtualized NAS wich recieves the 2xSSDs as pass-through and serves these out via NFS + SMB (CIFS), Intention is that the NAS is accessable as such in my Home-Network and can also hold the "slower" kind of data of the Cloudron-Space.</p>
<p dir="auto">1x VM operating Cloudron, my intention is to have NextCloud inside Cloudron and mount the "Networkshares" to have the data there.<br />
Have declared the Networkshares as Shares directly in Cloudron and am able to move the data-partitions of some other Apps (not NextCloud) over there.</p>
<p dir="auto">For the NextCloud-App, I mounted the Data-Networkshare as a volume to the app, so its visible under <code>/media/myNASdataShare</code> but "obviously" its owned by <code>root</code>and not <code>yellowtent</code> or <code>www-data</code>. Inside the NextCloud App, I can declare it as an External-Storage of type local, can see alt he data and can read from it but can not manipulate these. I was wondering wether this was due to a <code>root_squash</code> flag inside Cloudron for the mount but then it should not be possible to move other App-Data to the NFS-Share.</p>
<p dir="auto">Maybe there is something similar happening inside the NextCloud-App-Container.</p>
<p dir="auto">My goal:<br />
Being able to use (read/write) the NFS-Shares which are properly configured to be consumed by other clients inside NextCloud.</p>
<p dir="auto">Any Ideas on what I could do or where I should look?</p>
<p dir="auto">Thanks in advance for your support!</p>
]]></description><link>https://forum.cloudron.io/post/59236</link><guid isPermaLink="true">https://forum.cloudron.io/post/59236</guid><dc:creator><![CDATA[Jan Macenka]]></dc:creator><pubDate>Wed, 04 Jan 2023 14:02:25 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Wed, 12 Jan 2022 18:33:06 GMT]]></title><description><![CDATA[<p dir="auto">Wondering where we are with this. <a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> do you need help on this?</p>
]]></description><link>https://forum.cloudron.io/post/41698</link><guid isPermaLink="true">https://forum.cloudron.io/post/41698</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Wed, 12 Jan 2022 18:33:06 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Sun, 26 Dec 2021 10:15:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/3246" aria-label="Profile: 3246">@<bdi>3246</bdi></a> this is the correct place, the team is just not very active over the holidays at the moment <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":-)" alt="🙂" /> we will get to it.</p>
<p dir="auto">Maybe one pointer for you to further investigate if you want, the users and groups from the host system (<code>yellowtent</code>) are not usually mapped the same way in the app containers, so I suspect this causing some issue. Most apps have a chown command in the <a href="http://start.sh" target="_blank" rel="noopener noreferrer nofollow ugc">start.sh</a> but this usually only refers to /app/data within the app, not the volumes...which might be the main issue, but I would have to take more time here.</p>
]]></description><link>https://forum.cloudron.io/post/40932</link><guid isPermaLink="true">https://forum.cloudron.io/post/40932</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Sun, 26 Dec 2021 10:15:51 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Fri, 24 Dec 2021 10:31:14 GMT]]></title><description><![CDATA[<p dir="auto">Tried a manually mounted CIFS share with Cubby and while I can create folders and files from the GUI, I cannot upload anything:</p>
<p dir="auto"><code>[Error: EPERM: operation not permitted, copyfile '/tmp/YFfTJOFQlEjjf-s25ipOWhAM.png' -&gt; '/app/data/data/axel/test/wordpress.png'] { errno: -1, code: 'EPERM', syscall: 'copyfile', path: '/tmp/YFfTJOFQlEjjf-s25ipOWhAM.png', dest: '/app/data/data/axel/test/wordpress.png' }</code></p>
<p dir="auto">The share was mounted using this:<br />
<code>mount -t cifs -o username=&lt;user&gt;,password="&lt;password&gt;",rw,iocharset=utf8,file_mode=0666,dir_mode=0777,uid=yellowtent,gid=yellowtent //192.168.2.3/test /mnt/test</code></p>
<p dir="auto">Anything I upload directly via Samba shows in Cubby, I can create folders but not files using the Cubby interface and uploading anything results in an error.</p>
<p dir="auto">Me creating a text file using the GUI and failing:<br />
<code>POST /api/v1/files?path=%2Ftest.txt&amp;access_token=&lt;redacted&gt; 500 Internal Server Error EPERM: operation not permitted, copyfile '/tmp/XVKWw1b47ceh3aTgzcJPEIxe' -&gt; '/app/data/data/axel/test.txt'</code></p>
<p dir="auto">Should I be filing this in the git repo as a defect instead of posting here <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f914.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--thinking_face" style="height:23px;width:auto;vertical-align:middle" title="🤔" alt="🤔" /></p>
]]></description><link>https://forum.cloudron.io/post/40900</link><guid isPermaLink="true">https://forum.cloudron.io/post/40900</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Fri, 24 Dec 2021 10:31:14 GMT</pubDate></item><item><title><![CDATA[Reply to Permission issues using mounts for app data storage on Thu, 23 Dec 2021 17:32:34 GMT]]></title><description><![CDATA[<p dir="auto">I've also tried to mount an external hard disk, rather than a network share (CIFS or VBox), which worked. Not sure what I am doing wrong <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=c3aa4c12b7e" class="not-responsive emoji emoji-android emoji--cry" style="height:23px;width:auto;vertical-align:middle" title=":'(" alt="😢" /></p>
<p dir="auto">I used the Volumes GUI to mount the EXT4 HDD and then changed the NextCloud app data folder to /mnt/volumes/&lt;IDofDisk&gt; as shown in the Volumes list. No issues starting the app.</p>
<p dir="auto">This is great, however, I want to mount my local RAID instead of plumbing in an external disk.</p>
]]></description><link>https://forum.cloudron.io/post/40869</link><guid isPermaLink="true">https://forum.cloudron.io/post/40869</guid><dc:creator><![CDATA[3246]]></dc:creator><pubDate>Thu, 23 Dec 2021 17:32:34 GMT</pubDate></item></channel></rss>