"permission denied" while validating yml with CLI


#1

Since updating the CLI I’ve been getting the following error whenever I try running circleci config valid -c .circleci/config.yml:
Error: Could not load config file at .circleci/config.yml: open .circleci/config.yml: permission denied

If I modify the path so that it doesn’t resolve to my config file I’ll get:
Error: Could not load config file at ./circleci/config.yml: open ./circleci/config.yml: no such file or directory Which suggests circleci is finding my config file.

Running on Ubuntu 16.04 LTS. The file’s permissions (0664) haven’t changed since it stopped working,


#2

Hey, a couple of questions and things you could try:

What does circleci version return?
What’s the ownership of the config.yml file?
Does it work executing the validate command with sudo?
Have you tried creating a simple .circleci/config.yml file in another directory and testing with that?


#3

I just saw this too. So, maybe there’s a problem with the docker image or Ubuntu has pushed an update that’s breaking it.