Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Does "CreateGroupFolder" do anything aside from creating folders in the file-system and setting correct permissions for them?

EDIT: Yep, nothing more, nothing less. As Chealion suggested, I ran it with the verbose flag (doh!) and got:

sudo CreateGroupFolder -v

Attempting to create group home directory for group 1026 at "/Groups/FooGroup".
Created directory "/Groups/FooGroup/Documents"
Created directory "/Groups/FooGroup/Library"
Created directory "/Groups/FooGroup/Public"
Created directory "/Groups/FooGroup/Public/Drop Box"
Set ownership to user 1000, group 1026: "/Groups/FooGroup" and all sub-directories and files.
Set permissions to rwxr-xr-x (755): "/Groups/FooGroup"
Set permissions to rwxrwxr-x (775): "/Groups/FooGroup/Public"
Set permissions to rwxr-x--- (750): "/Groups/FooGroup/Documents"
Set permissions to rwxr-x--- (750): "/Groups/FooGroup/Library"
Set permissions to rwx-w---- (730): "/Groups/FooGroup/Public/Drop Box"

Successfully created group home directory for group 1026 at "/Groups/FooGroup".
share|improve this question
Have you tried running it verbosely (-v)? – Chealion May 18 '09 at 2:52
up vote 1 down vote accepted

CreateGroupFolder(1) BSD General Commands Manual CreateGroupFolder(1)

NAME CreateGroupFolder -- Create and populate group directories.

SYNOPSIS CreateGroupFolder [-q] [-v] [-f]

DESCRIPTION Provides several options for creating and populating group directories.

 A list of flags and their descriptions:

 -q       Sets Quiet mode - suppress ouput to console Creates a set of default folders for use by groups
          on the local server with little console messages

 -v       Sets Verbose mode - More ouput to console Creates group directories for groups defined in the
          local server with more console messages

 -f       Force all missing folders to be re-created.  Creates group directories for groups defined in a
          specific server even if they already exist All permissions and ownerships to be returned to
          defaults This option will also change the ownership and permissions on all files within the
          each group's folder hierarchy.  Use this option with care

FILES /usr/sbin/CreateGroupFolder location of tool

share|improve this answer
It may be easier to quote the important bits and the link to the man page instead of copying and pasting it here.… – Chealion May 18 '09 at 2:53
Or on some machines, you could use the URL x-man-page://CreateGroupFolder – username May 18 '09 at 7:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.