Skip to content

Wrong permissions for local testing #203

@bilboed

Description

@bilboed

Hi,

I'm trying out oss-fuzz locally, but the resulting image ends up with unreadable permissions.

The simplest way to reproduce is the following:

git clone git@github.com:google/oss-fuzz.git
cd oss-fuzz

Generate a sample project (automatically creates the proper project directory with required files)

python infra/helper.py generate test
Comment out this line from projects/test/Dockerfile : RUN git clone --depth 1 <git_url> test # or use other version control

Finally start a shell for that project (will automatically create image if needed)

python infra/helper.py shell test
ls /work
ls: cannot open directory '/work': Permission denied
ls /out
ls: cannot open directory '/out': Permission denied

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions