MAYAN_MEDIA_ROOT permission issue on first run
On first run MAYAN_MEDIA_ROOT
is chown to DEFAULT_USER_GID
and DEFAULT_USER_UID
instead of MAYAN_USER_GID
and MAYAN_USER_UID
which causes problems if MAYAN_APP_VOLUME
is mounted on an root_squashed NFS share.
Also, if the user and group ids are different from defaults static and install files are chowned every time the app restarts since update_uid_gid()
is called every time the app runs.