fix_data_permission.sh

The fix_data_permission.sh script is used to fix the TeamForge filesystem permissions when you backup and restore the TeamForge data in a new box during TeamForge upgrade.

Usage

Run this script as follows:

fix_data_permissons.sh [-r <repo_thread_count>>] [-d <dir_thread_count>] [-t <fix_permission item>]

Example

Run the following command to fix the permission of GIT repositories.

Run the following command to fix the permission of GIT repositories and app directories.

Run the following command to fix the permission of 15 Subversion repositories simultaneously.

Options

The following options are available for the fix_data_permission.sh script:

-r
Number of repos to process at a time. Default=5
-d
Number of directories to process at a time. Default=<No of processors>
-t
Item to fix. Possible values are [app, http, svn, cvs, git]. Default=<all items>
-h | --help
Prints the help information.