Skip to content

beesh: Force defined mode for copies of source files #16

Merged
merged 1 commit into from
Dec 18, 2017
Merged

Conversation

donald
Copy link
Contributor

@donald donald commented Dec 18, 2017

The bee source file and the package source and patch files
are copied into the bee package, the bee archive directory and into
the build archive with cp.

The modes of the source files are more or less undefined. Most notably
this is true for the bee source files themself, because git doesn't store
all file permissions in the repository, just the "x" bit.

Add --no-preserve=mode option to cp so that the undefined modes are
not inherited. The umask of the processes running bee is already
defined to 022.

The bee source file and the package source and patch files
are copied into the bee package, the bee archive directory and into
the build archive with `cp`.

The modes of the source files are more or less undefined. Most notably
this is true for the bee source files themself, because git doesn't store
all file permissions in the repository, just the "x" bit.

Add `--no-preserve=mode` option to `cp` so that the undefined modes are
not inherited. The umask of the processes running bee is already
defined to 022.
@pmenzel pmenzel merged commit 6a23652 into master Dec 18, 2017
@donald donald deleted the fix-cp-modes branch December 18, 2017 10:51
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants