• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2013 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5TIME="SHORT"
6AUTHOR = "jorgelo"
7DOC = """
8Ensures appropriate permissions on data within the chronos profile.
9"""
10NAME = "security_ProfilePermissions"
11PURPOSE = "Protect the security boundary enforced by filesystem permissions"
12CRITERIA = """
13Fail if there are any files or directories writable by group/other in ~.
14"""
15ATTRIBUTES = "suite:bvt-inline"
16SUITE = "bvt-inline"
17TEST_CLASS = "security"
18TEST_CATEGORY = "Functional"
19TEST_TYPE = "client"
20JOB_RETRIES = 2
21
22job.run_test("security_ProfilePermissions",
23        logged_in=True, tag='login')
24job.run_test("security_ProfilePermissions",
25        logged_in=False, tag='guest')
26