[GH-ISSUE #3786] 使用sftp工具的时候存在用户权限问题 #2601

Closed
opened 2026-02-27 00:53:34 +03:00 by kerem · 1 comment
Owner

Originally created by @aimamiumiu on GitHub (Jan 24, 2025).
Original GitHub issue: https://github.com/electerm/electerm/issues/3786

What feature you'd like to see or proposal(期望什么新功能/特性或者建议)

使用书签登录后,sftp一直停留在该用户。使用su命令切换用户后,再使用sftp上传时就会出现权限问题。

Originally created by @aimamiumiu on GitHub (Jan 24, 2025). Original GitHub issue: https://github.com/electerm/electerm/issues/3786 ### What feature you'd like to see or proposal(期望什么新功能/特性或者建议) 使用书签登录后,sftp一直停留在该用户。使用su命令切换用户后,再使用sftp上传时就会出现权限问题。
kerem closed this issue 2026-02-27 00:53:34 +03:00
Author
Owner

@zxdong262 commented on GitHub (Jan 24, 2025):

目前没有解决方法,sftp和ssh是独立的权限,在登录时候已经确定,su命令无法影响到sftp

<!-- gh-comment-id:2612004282 --> @zxdong262 commented on GitHub (Jan 24, 2025): 目前没有解决方法,sftp和ssh是独立的权限,在登录时候已经确定,su命令无法影响到sftp
Sign in to join this conversation.
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
starred/electerm#2601
No description provided.