make install-user doesn't transfer execute permissions #350

Open
mark wants to merge 1 commit from mark/cdist:userinstall into master
Contributor

The source.list.template for __apt_source has executable permissions. After
running a make install-user, permissions of the file don't transfer:

ls -al ~/.local/lib/python3.9/site-packages/cdist/conf/type/apt_source/files/source.list.template
-rw-r--r-- 1 cdist cdist 264 Aug 26 10:59 /home/cdist/.local/lib/python3.9/site-packages/cdist/conf/type/apt_source/files/source.list.template

Executing the source.list.template with sh solves this (I think this is the only type using this construction) without having to change the installation.

Regards,

Mark

The source.list.template for ```__apt_source``` has executable permissions. After running a make install-user, permissions of the file don't transfer: ``` ls -al ~/.local/lib/python3.9/site-packages/cdist/conf/type/apt_source/files/source.list.template -rw-r--r-- 1 cdist cdist 264 Aug 26 10:59 /home/cdist/.local/lib/python3.9/site-packages/cdist/conf/type/apt_source/files/source.list.template ``` Executing the source.list.template with sh solves this (I think this is the only type using this construction) without having to change the installation. Regards, Mark
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u userinstall:mark-userinstall
git switch mark-userinstall

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch master
git merge --no-ff mark-userinstall
git switch mark-userinstall
git rebase master
git switch master
git merge --ff-only mark-userinstall
git switch mark-userinstall
git rebase master
git switch master
git merge --no-ff mark-userinstall
git switch master
git merge --squash mark-userinstall
git switch master
git merge --ff-only mark-userinstall
git switch master
git merge mark-userinstall
git push origin master
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
ungleich-public/cdist!350
No description provided.