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 5 TIME="SHORT" 6 AUTHOR = "jorgelo" 7 DOC = """ 8 Ensures appropriate permissions on data within the chronos profile. 9 """ 10 NAME = "security_ProfilePermissions" 11 PURPOSE = "Protect the security boundary enforced by filesystem permissions" 12 CRITERIA = """ 13 Fail if there are any files or directories writable by group/other in ~. 14 """ 15 ATTRIBUTES = "suite:bvt-inline" 16 TEST_CLASS = "security" 17 TEST_CATEGORY = "Functional" 18 TEST_TYPE = "client" 19 JOB_RETRIES = 2 20 21 job.run_test("security_ProfilePermissions", 22 logged_in=True, tag='login') 23 job.run_test("security_ProfilePermissions", 24 logged_in=False, tag='guest') 25