Setting Access Permissions to Use Products

Article Number:01058

This section describes how to set access permissions required for the Cybozu on-premise products.
If you do not set access permissions, the following symptoms may occur.

  • "Error Number: 501 Data cannot be found." is displayed
  • "Error Number: 401 Data file could not be opened." is displayed
  • "HTTP 404" or "Not found" is displayed
  • "HTTP 403" or "Forbidden" is displayed

When the above symptoms occur, the reason can be either of the following.

  • Cause 1: When you use Cybozu products
    (Except when Cybozu Office 10 or Mailwise 5 has been newly installed)
    The access permission settings for the installation directory are not completed.
  • Cause 2: When you use Cybozu Office 10 or Mailwise 5
    The access permission settings for the data directory are not completed.

Confirm whether or not the access permission settings have been properly configured.

What Is the Installation Directory?

The "CGI directory + installation identifier" is called the installation directory. The CGI directory contains the executable files of the product.

An example of an installation directory using the default installation identifier is as follows:

Cybozu Office (On Windows)

  • C:/inetpub/scripts/cbag/
    • CGI directory: C:/inetpub/scripts/
    • Installation identifier: cbag

Mailwise (On Windows)

  • C:/inetpub/scripts/cbmw/
    • CGI directory: C:/inetpub/scripts/
    • Installation identifier: cbmw

What Is the Data Directory?

The data directory is a directory that stores data required to run the product.
This directory is created when either of the following conditions is met.

  • Cybozu Office 10 is newly installed
  • Mailwise 5 is newly installed

An example of a data directory is as follows:

Cybozu Office (On Windows)

  • C:/cybozu/office/cbag/

Mailwise (On Windows)

  • C:/cybozu/mailwise/cbmw/

Before Setting Up

User Rights

The following users must log in to the server where the product is installed.

  • On Windows:
    Users who have Administrator rights on the server where IIS 8.5 will be installed.

How to Check the Installation Directory and the Data Directory

You can check the installation directory and the data directory in the environment where the product is running.

For Windows Server 2016/2019

This section explains the following scenario as an example.

  • Windows: Windows Server 2016 or Windows Server 2019
  • Installation identifier: cbag
  1. In Windows Explorer, open the following folder.

    • When you set access permissions for the installation directory:

      C:\\inetpub\\scripts
    • When you set access permissions for the data directory:
      This is an example for Cybozu Office 10.

      C:\\cybozu\\office
  2. Right-click the target folder, and select Properties. Example of the Properties menu

  3. On the "Properties" screen, select the "Security" tab, and then confirm whether "Everyone" is displayed or not in the "Group or user names:" section.

    • When "Everyone" exists:
      Select "Everyone" in the "Group or user names:" section, and then confirm whether "Allow" is selected for "Full control" in the "Permissions for Everyone" section.

      • If "Allow" is not selected, proceed to step 7.
      • If "Allow" is selected, proceed to step 8.
    • When "Everyone" does not exist:
      Proceed to step 4.

  4. On the "Properties" screen, select the "Security" tab, and click Edit. Properties screen

  5. On the "Permissions" screen, click Add. Properties screen

  6. On the "Select Users or Groups" screen, type "Everyone" and click OK.
    You can also search for and enter "Everyone" by clicking Advanced. 'Select Users or Groups' screen

  7. On the "Permissions" screen, select "Everyone" and select the "Allow" check box in "Full Control", and then click OK. Permissions screen

  8. On the "Properties" screen, click Advanced. Properties screen

  9. On the "Advanced Security Settings" screen, select the check box for "Replace all child object permission entries with inheritable permission entries from this object", and then click Apply. Advanced Security Settings screen

  10. Click Yes on the "Windows Security" screen. Confirmation screen

  11. On the "Advanced Security Settings" screen, click OK. Advanced Security Settings screen

  12. On the "Properties" screen, click OK. Properties screen