<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: permission denied in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139004#M37213</link>
    <description>&lt;P&gt;When you enter the container created from the default Alfresco image, you are actually NOT running as root but rather use the default user as specified in Alfresco's image, which is "alfresco", and that user does not have access to the specified path. Also, your shell prompt does not look like you are actually working in the Docker container - a Docker prompt typically does not contain the "organization@administration:" that is visible in yours - to me it rather looks like you are working on your host instead of the actual Docker container, and that you are not really a root on the host but a special administration user, which may have "some" elevated permissions but possibly not the full "root" access.&lt;/P&gt;</description>
    <pubDate>Tue, 22 Jun 2021 08:21:37 GMT</pubDate>
    <dc:creator>afaust</dc:creator>
    <dc:date>2021-06-22T08:21:37Z</dc:date>
    <item>
      <title>permission denied</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139003#M37212</link>
      <description>&lt;P&gt;I installed alfresco using docker .&lt;/P&gt;&lt;P&gt;And now i need to edit server.xml file.That&amp;nbsp; file as far as i understand is on disk. opt/tomcat/conf&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when i try to enter the folder conf it is written permission denied.&lt;/P&gt;&lt;P&gt;How can i enter this folder?I use root login.&lt;/P&gt;&lt;P&gt;organization@administration:/opt/tomcat$ cd /opt/tomcat/conf&lt;BR /&gt;-bash: cd: /opt/tomcat/conf: Permission denied&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 06:48:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139003#M37212</guid>
      <dc:creator>marat</dc:creator>
      <dc:date>2021-06-22T06:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139004#M37213</link>
      <description>&lt;P&gt;When you enter the container created from the default Alfresco image, you are actually NOT running as root but rather use the default user as specified in Alfresco's image, which is "alfresco", and that user does not have access to the specified path. Also, your shell prompt does not look like you are actually working in the Docker container - a Docker prompt typically does not contain the "organization@administration:" that is visible in yours - to me it rather looks like you are working on your host instead of the actual Docker container, and that you are not really a root on the host but a special administration user, which may have "some" elevated permissions but possibly not the full "root" access.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 08:21:37 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139004#M37213</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2021-06-22T08:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139005#M37214</link>
      <description>&lt;P&gt;How to solve it if the current user is alfresco?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Feb 2022 22:53:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139005#M37214</guid>
      <dc:creator>Upladder</dc:creator>
      <dc:date>2022-02-21T22:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: permission denied</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139006#M37215</link>
      <description>&lt;P&gt;Even though you are able to update the server.xml by connecting to container, the changes will be lost if you terminate the container.&lt;/P&gt;
&lt;P&gt;There is a better way to update the server.xml. Use the DockerFile and docker-compose.yml in combination to build the custom image that contains your custom changes.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is an example:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml#L15" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/docker-compose.yml#L15&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/Dockerfile#L17" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/abhinavmishra14/change-acs-share-port-demo/blob/master/configs-to-override/alfresco/Dockerfile#L17&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Use following command to build the image:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;docker-compose -f ./docker-compose.yml build&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;Use following command to launch the containers:&lt;/P&gt;
&lt;P&gt;&lt;CODE&gt;docker-compose -f ./docker-compose.yml up&lt;/CODE&gt;&lt;/P&gt;
&lt;H3 dir="auto" id="toc-hId-1477654235"&gt;To build and launch containers use following command:&lt;/H3&gt;
&lt;P&gt;&lt;CODE&gt;docker-compose -f ./docker-compose.yml up --build&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Feb 2022 20:46:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/permission-denied/m-p/139006#M37215</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2022-02-22T20:46:55Z</dc:date>
    </item>
  </channel>
</rss>

