code: def make_directory_writable(dirname):
      """Makes directory readable and writable by everybody.
  
      If you run something inside Docker container and it writes files, then
      these files will be written as root user with restricted permissions.
      So to be able to read/modify these files outside of Docker you have to change
      permissions to be world readable and writable.
  
      Args:
        dirname: name of the directory
  
      Returns:
        True if operation was successfull
      """
      shell_call(
          [
              "docker",
              "run",
              "-v",
              "{0}:/output_dir".format(dirname),
              "busybox:1.27.2",
              "chmod",
              "-R",
              "a+rwx",
              "/output_dir",
          ]
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from builtins import int
  import argparse
  import json
  import logging
  import os
  import random
  import shutil
  import subprocess
  import time
  import uuid
  from six import iteritems
  import eval_lib
  from cleverhans.utils import shell_call
label_desc: Use image node_id 1 for calling a global function with example usage: make_directory_writable(dirname) without return types