@erickt there can only be one ``CMD`` in a dockerfile, so what you are proposing wouldn't work.  Also the need for 777 versus 775 in this case, is not really important, since there aren't ``users`` accessing the container with different permissions.