chtree



NAME

      chtree - change mode, owner or group of a directory tree


SYNOPSIS

      chtree [options ] path


DESCRIPTION

      The chtree command modify protections, owner and group values for a
      directory tree. The command may be used in order to freeze (or
      unfreeze) a product release. Note that only an owner of the files may
      modify these values.

    PARAMETERS
      path is the path of the tree to be modified.

    OPTIONS
      -c   chmod modifies the protection of the tree. Any argument for chmod
           command may be specified.

      -o own
           defines the owner of the files. Any argument valid for chown
           command may be specified.

      -g grp
           defines a group for the files. Any argument valid for chgrp
           command may be used.

      -a filename
           apply the command only on files with the specified name.

      -e filename
           apply the command on files that do not have the specified name.

      -d   apply the command only on directories.

      -f   apply the command only on ordinary files.

      -r   apply the command only on versioned files (*,v).

      -v   "verbose": shows the files and directories that are processed by
           the command.

      -i   asks for each file and directory in the tree if it should be
           processed.

      -l   Process symbolic links too. By default the symbolic links are
           skipped.


EXAMPLES

      chtree -c 555 /ipa/products/ex_prod/1.0-0


SEE ALSO

      chmod(1), chown(1), chgrp(1), product(1)


AUTHOR

      Ivica Crnkovic