Skip to content

bug: 🐝 Unable to modify permissions… #1906

@katexochen

Description

@katexochen

Describe the bug

The folder I'm deploying is read-only, and permissions can't be changed. I don't know why it is important to modify the permissions in the first place, while I see a lot of warnings/errors, it seems to work just fine. It would be nice if those messages wouldn't be flooding the output.

Reproduction Steps

Use a folder that is read only and owned by root.

Logs

/usr/bin/chmod -R +rw /home/runner/work/contrast/contrast/result
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/security-considerations.html': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/attestation.html': Operation not permitted
/usr/bin/chmod: changing permissions of '/home/runner/work/contrast/contrast/result/1.10/architecture/snp.html': Operation not permitted
...
Unable to modify permissions…

Workflow

- name: Publish docs to GitHub Pages
        if: env.PREVIEW == 'false'
        uses: JamesIves/github-pages-deploy-action@6c2d9db40f9296374acc17b90404b6e8864128c8 # v4.7.3
        with:
          folder: ./result
          branch: gh-pages
          clean-exclude: pr-preview
          force: false

Additional Comments

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions