forseti-security / terraform-google-forseti

A Terraform module for installing Forseti on GCP
Apache License 2.0
132 stars 127 forks source link

Fix path to crontab lock file. #647

Closed rosmo closed 2 years ago

rosmo commented 2 years ago

Change crontab lockfile path. The forseti_home directory is owned by root and thus cannot be written to by the ubuntu user:

  File: forseti-security/
  Size: 4096            Blocks: 8          IO Block: 4096   directory
Device: 801h/2049d      Inode: 523664      Links: 17
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

Use the same path as the run_forseti.sh (forseti_scripts), as that has 777 permissions.