Administrator’s Guide

Table Of Contents
42 FileMaker Server Administrator’s Guide
To change file group and permissions:
1. Move the database files to the folder /Library/FileMaker Server 7/
Data/Databases/.
2. In the Finder, select the first database file, and choose File menu >
Get Info
.
3. Expand the Ownership & Permissions area of the Get Info dialog
box, and the
Details area, if necessary.
4. If necessary, click the lock icon to unlock the permissions pop-up
menus, and enter your administrator’s password at the prompt.
5. For Group, select fmsadmin.
6. For group Access, select Read & Write.
7. Close the Get Info dialog box.
8. Repeat steps 2–7 for each database in the folder.
Changing script and plug-in file permissions
To change permissions for scripts and plug-ins, do the following:
1. Launch the Terminal application ([hard disk]/Applications/
Utilities/Terminal).
2. Change directories to the directory where the file or folder resides.
Note Items with the extension .fmplugin are folders, not files.
3. Change the owner of the item to fmserver, if necessary.
chown fmserver <filename>
or
chown -R fmserver <folder>
4. Change the group of the item to fmsadmin, if necessary.
chgrp fmsadmin <filename>
or
chgrp -R fmsadmin <folder>
5. Set permissions to:
chmod 660 <filename>
or
chmod -R 770 <folder>
6. Enable the group read, write, and executable bits by entering the
following at the command line:
chmod g+wrx <filename or folder>
The
g+wrx
is necessary because scripts and plug-ins must have the
group read, write, and executable bits enabled.
See FileMaker Server Help and Mac OS Help for more information,
including the man (online UNIX manual) pages for
chgrp(1),
chmod(1), sudo(8). For example, type man chgrp at the terminal
prompt.
Using the command line to automate tasks
You can administer FileMaker Server using the command fmsadmin
at the command prompt (Windows) or the Terminal application
(Mac
OS) for tasks such as opening and closing databases, enabling
and disabling plug-ins, enabling and disabling schedules, and
performing scheduled tasks.
Note FileMaker Server commands can optionally include the user
name and password. If a command is used interactively, the name
and password are visible and can be viewed by others. If a command
must include a name and password in a script or batch file, ensure
that only the password owner can view the script or batch file.