ConfigurableFsShellPermissions.Chmod, FsShellPermissions.Chown@Private @Unstable public class FsShellPermissions extends FsCommand
| Modifier and Type | Class | Description |
|---|---|---|
static class |
FsShellPermissions.Chgrp |
Used to change group of files
|
static class |
FsShellPermissions.Chmod |
The pattern is almost as flexible as mode allowed by chmod shell command.
|
static class |
FsShellPermissions.Chown |
Used to change owner and/or group of files
|
args, COMMAND_DESCRIPTION_FIELD, COMMAND_NAME_FIELD, COMMAND_USAGE_FIELD, err, exceptions, exitCode, name, numErrors, out, recursive| Constructor | Description |
|---|---|
FsShellPermissions() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
registerCommands(CommandFactory factory) |
Register the permission related commands with the factory
|
getCommandName, processRawArguments, run, runAlldisplayError, displayError, displayWarning, exitCodeForError, expandArgument, expandArguments, getCommandFactory, getDepth, getDescription, getListingGroupSize, getName, getReplacementCommand, getUsage, isDeprecated, isPathRecursable, isRecursive, isSorted, postProcessPath, processArgument, processArguments, processNonexistentPath, processOptions, processPath, processPathArgument, processPaths, processPaths, recursePath, run, run, setCommandFactory, setName, setRecursivegetConf, setConfpublic static void registerCommands(CommandFactory factory)
factory - the command factoryCopyright © 2008–2025 Apache Software Foundation. All rights reserved.