-
Notifications
You must be signed in to change notification settings - Fork 0
Home
For the indexing to work properly (and for users to be able to access the data from the cookbook), the files and directories being indexed need to have appropriate permissions and belong to the correct group (usually ik11, hh5, cj50, or
jk72). All files need to be readable by the group while directories need also to be executable.
To make the task of finding and fixing incorrect permissions and group ownership, two scripts are provided in this git repository:
To run these scripts, first clone this repository to some appropriate place on gadi:
$ git clone https://github.com/COSIMA/master_index.gitYou can then call the scripts as:
$ ./master_index/check_permissionsand
$ ./master_index/fix_permissionsNote that check_permissions will check all files and directories, while fix_permissions will only fix files and
directories that are owned by the user invoking the script.