Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix the permission problem of sftp for non-root users. #1477

Merged
merged 1 commit into from Aug 26, 2022

Conversation

24sama
Copy link
Collaborator

@24sama 24sama commented Aug 26, 2022

What type of PR is this?

/kind bug

What this PR does / why we need it:

Fix the permission problem of SFTP for non-root users.
The CAPKK uses the SFTP to scp files to the remote instance /tmp/kubekey directory and then uses cp command to copy them to their original remote path.

Which issue(s) this PR fixes:

Fixes #

Special notes for reviewers:

Does this PR introduced a user-facing change?


Additional documentation, usage docs, etc.:


Signed-off-by: 24sama <jacksama@foxmail.com>
@ks-ci-bot ks-ci-bot added the kind/bug Categorizes issue or PR as related to a bug. label Aug 26, 2022
@ks-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: 24sama

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ks-ci-bot ks-ci-bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Aug 26, 2022
@pixiake
Copy link
Collaborator

pixiake commented Aug 26, 2022

/lgtm

@ks-ci-bot ks-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Aug 26, 2022
@ks-ci-bot
Copy link
Collaborator

LGTM label has been added.

Git tree hash: fef36ba493b667d1d9489e7c55f3538e38132887

@ks-ci-bot ks-ci-bot merged commit fd44c92 into kubesphere:master Aug 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants