/usr/ucb/install [ -cs ] [ -g group ] [ -m mode ] [ -o owner ] filename ... directory
/usr/ucb/install -d [ -g group ] [ -m mode ] [ -o owner ] directory
SUNWscpu
The first two forms are similar to the cp(1) command with the addition that executable files can be stripped during the copy and the owner, group, and mode of the installed file(s) can be given.
The third form can be used to create a destination directory with the required owner, group and permissions.
Note: install uses no special privileges to copy files from one place to another. The implications of this are:
- You must have permission to read the files to be installed.
- You must have permission to copy into the destination file or directory.
- You must have permission to change the modes on the final copy of the file if you want to use the -m option to change modes.
- You must be superuser if you want to specify the ownership of the installed file with -o. If you are not the super-user, or if -o is not in effect, the installed file will be owned by you, regardless of who owns the original.