在CentOS 6.4中TFTP出现TFTP error: 'Permission denied' (0)的解决
来源:互联网 发布:网络教育学校专业 编辑:程序博客网 时间:2024/06/10 15:41
这个是由于selinux机制引起的不是文件夹的权限问题。
所以vi /etc/sysconfig/selinux 修改为:SELINUX=permissive
如果不想重启系统,执行:sudo setenfore 0
在开发板上执行:[root@EmbedSky /]# tftp -g -r aa 192.168.1.101
成功!
如果上传文件出现:tftp: server error: (1) File not found
解决方法:在/etc/xinetd.d/tftp文件server_args的-s选项后面添加-c
执行service xinetd restart成功。记得tftpboot权限设置。
附:关闭SELinux方法
1、修改主配置文件,将
SELINUX=permissive改为SELINUX=permissive或者disabled
值得注意的是:修改主配置文件要重启后才能生效
2、使用命令来关闭SELINUX(可以不用重启服务器)
setenforce 0
这命令并不是关闭SELINUX而是将其改为兼容模式(permissive)
setenforce 1
将其改为强制安全模式(permissive)
本文出自 “平淡不平凡” 博客,请务必保留此出处http://532883775.blog.51cto.com/5481032/1320230
- 在CentOS 6.4中TFTP出现TFTP error: 'Permission denied' (0)的解决
- 在CentOS 6.4中TFTP出现TFTP error: 'Permission denied' (0)的解决
- TFTP error: 'Permission denied' (0)
- Error code 0: Permission denied tftp ubuntu
- ubuntu tftp Error code 0: Permission denied解决办法
- tftp报错:Permission denied的解决方法
- U-Boot中使用tftp下载文件出现错误TFTP error: 'Access violation' (2)的解决办法
- linux tftp的安装,配置和tftp :timeout// Permission denied问题解决
- dnsmasq TFTP directory /tftpd inaccessible: Permission denied
- CentOS中TFTP配置
- github 出现 Permission denied (publickey)的解决
- github 出现 Permission denied (publickey)的解决
- github 出现 Permission denied (publickey)的解决
- github 出现 Permission denied (publickey)的解决
- centos 6.4 下 tftp 的配置
- 用TFTP下载出现TFTP error: 'Access violation' (2)错误
- 在ubuntu10.04下搭建tftp服务器的血泪史(完美解决本机测试tftp localhost出现:tansfer:timed out)
- tftp在嵌入式中应用
- CentOS 6.4配置arm-linux-gcc交叉环境
- 基于CentOS 6.4的nfs配置
- 题目20 吝啬的国度
- nfs的防火墙配置
- SQLite 在 Java中的使用
- 在CentOS 6.4中TFTP出现TFTP error: 'Permission denied' (0)的解决
- 解决nfs链接开发板出现:nfs:server is not responding,still trying
- gdb调试出错:Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.107.el6_4.5
- gdb常用参数小记
- linux设置环境变量的三种方法
- 使用smartmontools查看硬盘使用时间
- Centos 6.4 装机初始配置
- Centos 6.4系统下kscope1.6.2安装
- linux下的无线DOS工具mdk3安装