10 Star 6 Fork 47

src-openEuler / openssh

 / 详情

[openEuler-23.03] sftp是否可以访问上级目录/temp 失败后回显信息异常

已验收
缺陷
创建于  
2023-03-10 18:14

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
【环境信息】
[root@openEuler ~]# cat /etc/openEuler-latest
openeulerversion=openEuler-23.03
compiletime=2023-02-16-17-10-41
gccversion=10.3.1-22.oe1
kernelversion=6.1.8-
openjdkversion=1.8.0.362.b09-2.oe1

[root@openEuler sftp_conf]# rpm -q openssh
openssh-9.1p1-2.oe2303.aarch64

【问题复现步骤】
配置对端环境
sftp_user=sftptest
sftp_password=Huawei@SYS3
输入图片说明
groupadd sftpgroup;useradd sftptest -s /sbin/nologin -g sftpgroup
mkdir -p /temp/sftptest;chown root:sftpgroup /temp/sftptest;chmod 755 /temp/sftptest
mkdir -p /temp/sftptest/upload;chown sftptest:sftpgroup /temp/sftptest/upload;chmod 755 /temp/sftptest/upload
echo > /etc/security/opasswd;echo $sftp_password | passwd $sftp_user --stdin > /dev/null 2>&1

本端执行
sftp -o StrictHostKeyChecking=no -o ConnectTimeout=300 sftptest@9.82.162.154(对端ip)
【出现概率(是否必现,概率性错误)】
必现
【预期结果】
openEuler-22.03-LTS-SP1
回显为:Couldn't stat remote file: No such file or directory
输入图片说明
【实际结果】
回显为:stat remote: No such file or directory
输入图片说明
【附件信息】
比如系统message日志/组件日志、dump信息、图片等

评论 (2)

sym12321 创建了缺陷

Hi sym12321, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Networking, and any of the maintainers: @Randy.Wang , @seuzw , @luzhihao , @kircher , @gebidelidaye , @Apricity

openeuler-ci-bot 添加了
 
sig/Networking
标签
sym12321 里程碑设置为openEuler-23.03-round-2
sym12321 修改了描述
sym12321 任务状态待办的 修改为已完成
张以正 任务状态已完成 修改为已验收

登录 后才可以发表评论

状态
负责人
项目
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(3)
5329419 openeuler ci bot 1632792936
1
https://gitee.com/src-openeuler/openssh.git
git@gitee.com:src-openeuler/openssh.git
src-openeuler
openssh
openssh

搜索帮助