| # 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. |
| |
| # Type Path Mode User Group Age Arguments |
| |
| # On devices with Chrome OS camera HAL, Chrome needs to host the Unix domain |
| # named socket /run/camera/camera3.sock to provide the camera HAL Mojo |
| # service to the system. The socket is created and listened on by Chrome, and |
| # receives connections from the camera HAL v3 process and cameraserver process |
| # in Android container which run as group arc-camera. In addition, the camera |
| # HAL v3 process also hosts a Unix domain named socket in /run/camera for the |
| # sandboxed camera library process. Thus the directory is created with |
| # user chronos and group arc-camera with 0770 permission. |
| d= /run/camera 0770 chronos arc-camera |
| |
| # Ensure that the token directories exists so that it can be bind-mounted into |
| # the minijail that cros-camera runs in. |
| d= /run/camera_tokens 0770 chronos arc-camera |
| d= /run/camera_tokens/server 0770 chronos arc-camera |
| |
| # The /var/cache/camera folder is used to store camera-related configs and |
| # settings that are either extracted from Android container, or generated |
| # by the camera HAL at runtime. |
| d= /var/cache/camera 0770 chronos arc-camera |