#!/bin/bash | |
# Copyright 2021 The Chromium OS Authors. All rights reserved. | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
## Section: 4.2.3 Ensure permissions on all logfiles are configured ## | |
sudo find /var/log -type f -exec chmod g-wx,o-rwx "{}" + -o \ | |
-type d -exec chmod g-w,o-rwx "{}" + |