# FileCreateMode

Sets the octal permission mode for the state file.

This parameter applies to imjournal: Systemd Journal Input Module.

Name:

  FileCreateMode

Scope:

  module

Type:

  integer

Default:

  module=0644

Required?:

  no

Introduced:

  at least 8.x, possibly earlier

## Description

Defines access permissions for the state file using a four-digit octal value. Actual permissions also depend on the process `umask`. If in doubt, use `global(umask="0000")` at the beginning of the configuration file to remove any restrictions.

## Module usage

    module(load="imjournal" FileCreateMode="...")

## Notes

- Value is interpreted as an octal number.

## See also

See also imjournal: Systemd Journal Input Module.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.