Hi. This is on Fedora Core 6 platform.

From the man page for:

System Management Commands  06/24/2006  GROUPMOD(8)

*snip*

OPTIONS

The options which apply to the groupmod command are:

  -g gid  The numerical value of the group's ID. This
          value must be unique, unless the -o option is
          used. The value must be non-negative. Values
          between 0 and 999 are typically reserved for
          system groups. Any files which the old group
          ID is the file group ID must have the file group
          ID changed manually.

  -n new_group_name The name of the group will be changed
                    from 'group' to 'new_group_name'.

*snip*

That seems a bit unclear to me. Do you think it would be easier put across like this:

------------------------------------------------------------
OPTIONS

The options which apply to the groupmod command are:

  -g gid  The numerical value of the group's ID. This
          value must be unique, unless the -o option is
          used. The value must be non-negative. Values
          between 0 and 999 are typically reserved for
          system groups.

For any files that belonged to the old 'group', the GID must be changed manually to 'new_group_name', to keep those files (and directories) as members of 'new_group_name'. This can be done manually with a root user command, such as:

#chgrp -R new_group_name directory_target

which should recursively change all files and sub-directories to new_group_name in directory_target. Please see the chgrp man pages for full details.
------------------------------------------------------------

Kind Regards

Keith Roberts

------------------------------------------------------------
http://www.karsites.net
http://www.raised-from-the-dead.org.uk

This email address is challenge-response protected with
http://www.tmda.net
------------------------------------------------------------


_______________________________________________
Bug-coreutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to