diet-chgrp
can change the group
of a file.
This command takes in argument the new group of the file
and the path of the file in the following form
diet-chgrp
[--config diet_config_file]
group
file
diet-chgrp
will change the group of the file
to the group
given in argument.
How to change the group of a file
called foo
on the bar
machine to the group
baz?
diet-chgrp --config path_to_the_configuration_file baz bar:foo
diet-chmod(1),
diet-cp(1),
diet-head(1),
diet-ls(1),
diet-mkdir(1),
diet-mv(1),
diet-rm(1),
diet-rmdir(1),
diet-tail(1),
diet-status(1),
diet-agent, omniNames.
Version: 1.1 of 2010/02/02.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see
GRAAL, INRIA Rhône-Alpes
Table of Contents
Synopsis
Description
diet-chgrp
uses the configuration file diet_config_file
defined with the --config
option to be able to get information about the host
where the group of the file is being changed.
If the --config
option is not set, diet-chgrp
will use $HOME/.diet/client.cfg. If this file does not exist, the path to the client configuration file could also be defined with the DIET_CLIENT_CONFIG environment variable.
Files and variables
Example
See also
Prerequisites
Version
License et Copyright
Author
46 allée d'Italie
69364 Lyon cedex 07, FRANCE
Email: tech@sysfera.com
WWW: http://www.sysfera.com.