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

Open
mark wants to merge 1 commits 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
mark added 1 commit 2022-09-29 14:18:04 +00:00
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.
You can also view command line instructions.

Step 1:

From your project repository, check out a new branch and test the changes.
git checkout -b mark-userinstall master
git pull userinstall

Step 2:

Merge the changes and update on Gitea.
git checkout master
git merge --no-ff mark-userinstall
git push origin master
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
1 Participants
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.