public static class FsShellPermissions.Chmod
extends org.apache.hadoop.fs.FsShellPermissions
FsShellPermissions.Chgrp, FsShellPermissions.Chmod, FsShellPermissions.Chown| Modifier and Type | Field and Description |
|---|---|
static String |
DESCRIPTION |
static String |
NAME |
protected org.apache.hadoop.fs.permission.ChmodParser |
pp |
static String |
USAGE |
| Constructor and Description |
|---|
Chmod() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
processOptions(LinkedList<String> args)
Must be implemented by commands to process the command line flags and
check the bounds of the remaining arguments.
|
protected void |
processPath(org.apache.hadoop.fs.shell.PathData item)
Hook for commands to implement an operation to be applied on each
path for the command.
|
getCommandName, processRawArguments, run, runAlldisplayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getListingGroupSize, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, isSorted, postProcessPath, processArgument, processArguments, processNonexistentPath, processPathArgument, processPaths, processPaths, recursePath, run, run, setCommandFactory, setName, setRecursivegetConf, setConfpublic static final String NAME
public static final String USAGE
public static final String DESCRIPTION
protected org.apache.hadoop.fs.permission.ChmodParser pp
protected void processOptions(LinkedList<String> args) throws IOException
org.apache.hadoop.fs.shell.CommandprocessOptions in class org.apache.hadoop.fs.shell.Commandargs - the command line argumentsIOExceptionprotected void processPath(org.apache.hadoop.fs.shell.PathData item)
throws IOException
org.apache.hadoop.fs.shell.CommandprocessPath in class org.apache.hadoop.fs.shell.Commanditem - a PathData objectIOException - if anything else goes wrong in the user-implementationCopyright © 2008–2022 Apache Software Foundation. All rights reserved.