Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Fix temp directory permissions for git fetcher #159

Merged
merged 1 commit into from
Oct 26, 2018
Merged

Conversation

agy
Copy link
Contributor

@agy agy commented Aug 21, 2018

As reported in #105 pacote does
not set permissions on temporary directories for git fetcher when
opts.uid is used to drop privileges (e.g. when using sudo).

This fix passes in the uid and gid to cacache as options. No checking is
required as cacache checks these options before using them.

As reported in zkat#105 `pacote` does
not set permissions on temporary directories for git fetcher when
opts.uid is used to drop privileges (e.g. when using sudo).

This fix passes in the uid and gid to cacache as options. No checking is
required as cacache checks these options before using them.
Copy link
Owner

@zkat zkat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@zkat zkat merged commit 97c3aeb into zkat:latest Oct 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants