Skip to content
This repository has been archived by the owner on Dec 7, 2022. It is now read-only.

Insure that makedirs() results in directories group can write to. #463

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

ggainey
Copy link
Contributor

@ggainey ggainey commented Oct 5, 2020

Tracked down a lot of makedirs() calls and replaced them with misc.mkdir()

Note: required-PR is needed to fix the permission problem, but the code
will build/work without it.

fixes #7654
Required PR: pulp/pulp#4000

Tracked down a lot of makedirs() calls and replaced them with misc.mkdir()

Note: required-PR is needed to fix the permission problem, but the code
will build/work without it.

fixes #7654
Required PR: pulp/pulp#4000
# it's ok if the directory exists
if e.errno != errno.EEXIST:
raise
misc.mkdir(destination_dir, mode=0775)
Copy link
Member

Choose a reason for hiding this comment

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

@ipanova ipanova merged commit 77cba40 into pulp:2-master Oct 8, 2020
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