Skip to content
Snippets Groups Projects
Commit 3ec22450 authored by Stefano Alberto Russo's avatar Stefano Alberto Russo
Browse files

Fixed bug that caused the /home folder not to be writable anymore after installing Xfce.y

parent c30bd32a
No related branches found
No related tags found
No related merge requests found
...@@ -86,9 +86,14 @@ RUN gdebi /root/dropbox_2015.10.28_amd64.deb -n ...@@ -86,9 +86,14 @@ RUN gdebi /root/dropbox_2015.10.28_amd64.deb -n
COPY files/runshell.sh /bin/ COPY files/runshell.sh /bin/
RUN chmod 755 /bin/runshell.sh RUN chmod 755 /bin/runshell.sh
# Set conatiner name for prompt
ENV CONTAINER_NAME='basicmetadesktop' ENV CONTAINER_NAME='basicmetadesktop'
# Giveagain, since xfce install "fixed" it) write access to anyone to the home folder so the entrypoint
# will be able to copy over the /home/matauser_vanilla into /home/metauser (for Singularity)
RUN chmod 777 /home
# Switch back to metauser
USER metauser USER metauser
...@@ -89,7 +89,7 @@ RUN chown -R metauser:metauser /metauser_home_vanilla/.fluxbox ...@@ -89,7 +89,7 @@ RUN chown -R metauser:metauser /metauser_home_vanilla/.fluxbox
COPY files/background.jpg /usr/share/images/fluxbox/background.jpg COPY files/background.jpg /usr/share/images/fluxbox/background.jpg
# Give write access to anyone to the home folder so the entrypoint will be able # Give write access to anyone to the home folder so the entrypoint will be able
# to copy over the /home/matauser_vanilla into /home/metause (for Singularity) # to copy over the /home/matauser_vanilla into /home/metauser (for Singularity)
RUN chmod 777 /home RUN chmod 777 /home
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment