tiny-pilot / tiny-pilot/tinypilot
Avoid setting permissions recursively in TinyPilot Debian package
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 3.5k
- Forks
- 291
- PR merge metrics
- No merged PRs in 30d
Description
Debian packages are not supposed to set permissions recursively in maintainer scripts:
https://lintian.debian.org/tags/recursive-privilege-change
We recursively call chown in postinst so we should figure out a way to avoid doing that:
Once we figure out the "right" way of handling this, we should remove the lintian rule suppression:
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with debian-pkg/DEBIAN/postinst, especially the recursive chown, and review the recursive-privilege-change lintian rule. Determine a Debian-compliant way to set ownership without recursive changes, then remove the corresponding suppression from .lintianignore and verify the package no longer triggers that lintian warning.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- build-system
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100