iCommands are a set of commands for Unix and Windows that are used in the iRODS system. Before you can use iRODS iCommands, you must first install iCommands and configure your environment. If you have already set up your environment, skip this step.
To share data with a user, you must give the user at minimum read permission to the parent directory that contains the file and any other parent folders within the folder hierarchy.
The following table contains some of the more common iCommands:
|iCommand option||Description||Help command|
|List contents of iRODS directories |
List contents of iRODS directories and all associated permissions
|ichmod read |
|Grant read-only permission level for specified user to selected file or folder. |
Grant read and write permission level for specified user to selected file or folder.
Grant full ownership permission level for specified user to selected file or folder.
Remove permission level for the user to the file or folder.
Building iCommands yourself
This page describes how to build iCommands yourself. They are useful if you experience difficulty using the prebuilt iCommands instructions.
For Linux, Mac OSX, and other UNIX variants
- Download the iRODS package at http://wiki.irods.org/index.php/Downloads.
- In a terminal window, enter
Enter the following information in the prompts:
Prompt Answer Build an iRODS server yes? no Include additional prompts for advanced settings no? no Include GSI no? no Include the NCCS Auditing extensions no? no Save configuration (irods.config) yes? yes Start iRODS build yes? yes
Updating your path
When prompted to update your path during installation:
User type Path csh users
set path=(/usr/local/bin/iRODS/clients/icommands/bin $path)
sh or bash users
Ignore the following instructions from the iRODS installer:
Configuring your iCommands
Return to Using iCommands to configure your iCommands.