1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
|
.\" @(#)$RCSfile: nschclass.man,v $ $Revision: 1.1.1.1 $ $Date: 2002/10/16 06:25:40 $ CERN IT-PDP/DM Jean-Philippe Baud
.\" Copyright (C) 2000-2002 by CERN/IT/PDP/DM
.\" All rights reserved
.\"
.TH NSCHCLASS 1 "$Date: 2002/10/16 06:25:40 $" CASTOR "Cns User Commands"
.SH NAME
nschclass \- change class of a CASTOR directory in the name server
.SH SYNOPSIS
.B nschclass
.RB [ -i ]
.RB [ -r ]
.I class
.IR path ...
.SH DESCRIPTION
.B nschclass
sets the class of a CASTOR directory(s) in the name server to the value in
.IR class .
This can be either the classid or the class name.
.LP
The effective user ID of the process must match the owner of the directory or
the caller must have ADMIN privilege in the Cupv database.
.TP
.I path
specifies the CASTOR pathname.
If
.I path
does not start with
.BR / ,
it is prefixed by the content of the
.B CASTOR_HOME
environment variable.
.SH OPTIONS
The following options are supported:
.TP
.B -i
Request acknowledge before changing each individual entry.
.TP
.B -r
Recursive mode.
The class is changed on the directories, not on the existing regular files.
.SH EXIT STATUS
This program returns 0 if the operation was successful or >0 if the operation
failed.
.SH SEE ALSO
.BR Castor_limits(4) ,
.BR Cns_chclass(3) ,
.BR Cupvlist(1) ,
.BR nslistclass(1)
.SH AUTHOR
\fBCASTOR\fP Team <castor.support@cern.ch>
|