1
0
mirror of https://github.com/stucki/docker-lineageos synced 2024-12-19 17:12:29 -05:00

Follow-up on #2: Change permission of the screen directory

This commit is contained in:
Michael Stucki 2014-06-23 15:57:49 +02:00
parent d14aa4b258
commit 24159b1fbd

View File

@ -24,6 +24,7 @@ RUN dpkg-divert --local --rename /usr/bin/ischroot && ln -sf /bin/true /usr/bin/
# Workaround for screen: /usr/bin/screen cannot be installed with setgid "utmp": https://github.com/stucki/docker-cyanogenmod/issues/2
# Install screen with setuid root instead (that's ok on a single-user system)
RUN chmod u+s /usr/bin/screen
RUN chmod 755 /var/run/screen
RUN apt-get -qqy upgrade