verification: ignore some filemode bits

Open
#49 3 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
cli

Research direction

Start at the continuity verify command and trace how manifest permission bits are compared, using the Windows file-mode reference linked in the issue for platform differences. Define how the --ignore-mode-bits mask affects verification and confirm that manifests created on Unix and Windows can be checked with the requested bits ignored.

Written by the indexing model from the issue text.

Description

User may want to ignore the permission bits specified in the manifest during verification, for platform-specific reason.

e.g. Create a manifest on Unix and verify it on Windows, and vice versa

This could be implemented as a bitmask like this

$ continuity verify --ignore-mode-bits 0777
Dominant language
Go
Stars
155
Forks
77
Avg merge
4d 11h
Merged PRs (30d)
8

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containerd/continuity

All issues in containerd/continuity

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.