Skip to content
  • Leigh B. Stoller's avatar
    Add a setuid utility script that will chown a directory tree · 42e84c26
    Leigh B. Stoller authored
    (recursively) to the UID of the real user (not effective) user. The
    user must have write permission on the enclosing directory.
    
    Currently, this script is is called from the Archive code, when
    copying in files, to avoid permission errors when the current user is
    not the same as the previous user.
    
    This script can also be used from several other places that have
    exhibited similar directory permission problems.
    42e84c26