Skip Headers
Oracle Hierarchical Storage Manager and QFS Software Command Reference
Section 1: User Commands
Release 6.1.1
E70305-03

NAME

schproj - change file project attribute

SYNOPSIS

schproj [ -fhR ] project filename

schproj -R [ -H | -L | -P ] project filename

AVAILABILITY

SUNWsamfs

SUNWqfs

DESCRIPTION

schproj sets the project attribute of files and directories. The project can be specified as either the project name or the numeric value from the project database ∕etc∕project. The owner of a file or directory can change the project of a file or directory to any project of which the owner could be a member. The superuser can change the project of any file or directory to any project name or numeric value from the project database ∕etc∕project.

OPTIONS

-f

Force. Do not report errors.

-h

If the file is a symbolic link, this option changes the project of the symbolic link. Without this option, the project of the file referenced by the symbolic link is changed.

-H

If the file specified on the command line is a sym- bolic link that references a directory, this option changes the project of the directory referenced by the symbolic link and all the files in the file hierarchy below it. If a symbolic link is encountered when traversing the file hierarchy, the project of the target file is changed, but no recursion takes place.

-L

If the file is a symbolic link, this option changes the project of the file referenced by the symbolic link. If the file specified on the command line, or encountered during the traversal of the file hierarchy, is a symbolic link that references a directory, then this option changes the project of the directory referenced by the symbolic link and all files in the file hierarchy below it.

-P

If the file specified on the command line or encountered during the traversal of a file hierarchy is a symbolic link, this option changes the project of the symbolic link. This option does not follow the symbolic link to any other part of the file hierarchy.

Specifying more than one of the mutually-exclusive options -H, -L, or -P is not considered an error. The last option specified determines the behavior of schproj.

-R

Recursive. schproj descends through the directory and any subdirectories, setting the specified project as it proceeds. When a symbolic link is encountered, the project of the target file is changed unless the -h or -P option is specified. However no recursion takes place unless the -H or -L option is specified.

SEE ALSO

sls (1), sfind (1), project (4).