Reset the permissions for the docbase directory on Linux

Once the docbase has been migrated to IXIASOFT TEXTML Server 4.4, you should reset the permissions on the docbase folder.

To reset the permissions:

  1. Run the following command:
    ls -dl /docbases/

    Where /docbases/ is the high-level directory for the docbases on the machine where you installed TEXTML Server.

    You should see a result similar to the following example:

    drwxrwxr-x. 3 textml textmlgroup 4096 Apr 18 2018 /docbases/
    Important: Take note of the user name and group in the result, because you need it for the next step. In the case of the previous example, the user name was textml and the group was textmlgroup.
  2. Run the following command:
    chown -R [username]:[group] /docbases

    To follow the same example, you would run: chowm -R textml:textmlgroup /docbases

  3. Run the following command:
    chmod -R u+wr,g+wr,o+r-w /docbases