Skip to content

Permission denied when creating Xcode directory #137342

@vashworth

Description

@vashworth

Is there an existing issue for this?

Type of Request

bug

Infrastructure Environment

Devicelab

What is happening?

Some (if not all) of mac devicelab bots have permission denied when trying to create a directory in /opt/flutter.

For example, when installing Xcode, we download the Xcode app into /opt/flutter/xcode, however, if the xcode directory does not exist yet, it is created with mkdir. However, this fails due to file permissions.

mkdir /opt/flutter/xcode: permission denied

https://ci.chromium.org/ui/p/flutter/builders/try/Mac%20Engine%20Drone/471486/overview

Either we need to update permission allowance or the xcode directory needs to be created manually when bots are set up.

Note: the xcode directory has the owner of swarming currently, which allows directories to be created inside of it

Steps to reproduce

ssh into a bot and do

mkdir /opt/flutter/xcode

Expected results

Directory gets created or is already there

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listinfra: device labInfrastructure device lab problemsteam-infraOwned by Infrastructure teamtriaged-infraTriaged by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions