Removed CHANGE_DIR_RIGHTS.

This commit is contained in:
Graham Booker 2016-12-12 13:32:42 -06:00
parent e9d7ff1b1e
commit b5c960fce8
3 changed files with 1 additions and 10 deletions

View File

@ -41,8 +41,7 @@ RUN \
EXPOSE 32400/tcp 3005/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp EXPOSE 32400/tcp 3005/tcp 8324/tcp 32469/tcp 1900/udp 32410/udp 32412/udp 32413/udp 32414/udp
VOLUME /config /transcode VOLUME /config /transcode
ENV CHANGE_DIR_RIGHTS="false" \ ENV CHANGE_CONFIG_DIR_OWNERSHIP="true" \
CHANGE_CONFIG_DIR_OWNERSHIP="true" \
HOME="/config" HOME="/config"
ARG TAG=plexpass ARG TAG=plexpass

View File

@ -53,7 +53,6 @@ These parameters are usually not required but some special setups may benefit fr
- **PLEX_UID** The user id of the `plex` user created inside the container. - **PLEX_UID** The user id of the `plex` user created inside the container.
- **PLEX_GID** The group id of the `plex` group created inside the container - **PLEX_GID** The group id of the `plex` group created inside the container
- **CHANGE_CONFIG_DIR_OWNERSHIP** Change ownership of config directory to the plex user. Defaults to `true` - **CHANGE_CONFIG_DIR_OWNERSHIP** Change ownership of config directory to the plex user. Defaults to `true`
- **CHANGE_DIR_RIGHTS** Change permissions of data directory (media) to be readable by plex user. Defaults to `false`
- **ALLOWED_NETWORKS** IP/netmask entries which allow access to the server without requiring authorization. We recommend you set this only if you do not sign in your server. For example `192.168.1.0/24,172.16.0.0/16` will allow access to the entire `192.168.1.x` range and the `172.16.x.x` range. - **ALLOWED_NETWORKS** IP/netmask entries which allow access to the server without requiring authorization. We recommend you set this only if you do not sign in your server. For example `192.168.1.0/24,172.16.0.0/16` will allow access to the entire `192.168.1.x` range and the `172.16.x.x` range.
### Networking ### Networking

View File

@ -53,13 +53,6 @@ if [ "${CHANGE_CONFIG_DIR_OWNERSHIP,,}" = "true" ]; then
chown -R plex:plex /config /transcode chown -R plex:plex /config /transcode
fi fi
# Update permisions for data we need to read
if [ "${CHANGE_DIR_RIGHTS,,}" = "true" ]; then
echo "Changing data directory rights"
chgrp -R plex /data
chmod -R g+rX /data
fi
# Create empty shell pref file if it doesn't exist already # Create empty shell pref file if it doesn't exist already
if [ ! -e "${prefFile}" ]; then if [ ! -e "${prefFile}" ]; then
echo "Creating pref shell" echo "Creating pref shell"