0

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".
1
  • 1
    Have you tried running it verbosely (-v)?
    – Chealion
    May 18, 2009 at 2:52

1 Answer 1

1

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

2

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .