Managing ObjectStore

oschgrp: Changing Database Group Names

The oschgrp utility changes the group name of the specified databases and directories.

Syntax

oschgrp [-R][-f] group pathname ... 
group 
Specifies a group name or group number in a group ID file.

pathname 
...
Specifies the databases or directories whose group name you are changing. You can specify either rawfs paths of any kind or file database paths.

Options
-f 
Forces execution. Errors are not reported.

-R 
Indicates that ObjectStore should change the group name recursively for all specified directories. That is, it changes the group name for subdirectories and their contents, subsubdirectories and their contents, and so on.

Description

This utility operates on rawfs databases and file databases.

When you specify a file database, you cannot specify a remote file-server host name in the pathname of the file database. The oschgrp utility passes the operation to a local native utility. If you specify a remote file-server host name, ObjectStore informs you that you specified an illegal pathname.

oschgrp can perform wildcard processing. See "Wildcards".

UNIX

When operating on a rawfs database, you must enclose the wildcard in quotation marks ("") or precede it with a back slash (\) to keep the shell from interpreting wildcards.

oschgrp accepts a combination of rawfs pathnames and file pathnames.

/etc/group is the group ID file. You must be the owner of the database or be the superuser to use this utility.

API

Class: os_dbutil
Method: chgrp



[previous] [next]

Copyright © 1999 Object Design, Inc. All rights reserved.

Updated: 03/11/99 11:19:07