linux安装eclipse报错:cannot restore segment prot after reloc: Permission denied
来源:互联网 发布:db2数据库的hadr 编辑:程序博客网 时间:2024/05/22 12:25
错误信息:
/usr/local/jdk/jdk1.6.0_33/bin/../jre/lib/i386/client/libjvm.so: cannot restore segment prot after reloc: Permission denied
解决方法:
chcon -t texrel_shlib_t /usr/local/jdk/jdk1.6.0_33/jre/lib/i386/client/libjvm.so
PS:
关于chcon:修改对象(文件)的安全上下文
NAME
chcon - change file SELinux security context
SYNOPSIS
chcon [OPTION]... CONTEXT FILE...
chcon [OPTION]... [-u USER] [-r ROLE] [-l RANGE] [-t TYPE] FILE...
chcon [OPTION]... --reference=RFILE FILE...
DESCRIPTION
Change the security context of each FILE to CONTEXT.
-c, --changes
like verbose but report only when a change is made
-h, --no-dereference
affect symbolic links instead of any referenced file (available only on systems with lchown system call)
-f, --silent, --quiet
suppress most error messages
--reference=RFILE use RFILE's context instead of using a CONTEXT value
-u, --user=USER
set user USER in the target security context
-r, --role=ROLE
set role ROLE in the target security context
-t, --type=TYPE
set type TYPE in the target security context
-l, --range=RANGE
set range RANGE in the target security context
-R, --recursive
change files and directories recursively
-v, --verbose
output a diagnostic for every file processed
--help display this help and exit
--version
output version information and exit
REPORTING BUGS
Report bugs to <https://bugzilla.redhat.com/bugzilla>.
SEE ALSO
The full documentation for chcon is maintained as a Texinfo manual. If the info and chcon programs are properly installed at your site, the command info chcon should give you access to the complete manual.
- linux安装eclipse报错:cannot restore segment prot after reloc: Permission denied
- Linux下配置JDK以及报cannot restore segment prot after reloc: Permission denied错解决方案
- Linux下配置JDK以及报cannot restore segment prot after reloc: Permission denied错解决方案
- Linux下配置JDK以及报cannot restore segment prot after reloc: Permission denied错解决方案
- Linux:cannot restore segment prot after reloc:Permission denied
- RHEL安装Apache2 + PHP5 报 cannot restore segment prot after reloc: Permission denied
- Error: cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied 解决方法
- cannot restore segment prot after reloc: Permission denied
- cent os -- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied
- cannot restore segment prot after reloc: Permission denied解决办法
- cannot restore segment prot after reloc: Permission denied
- sqlplus error:cannot restore segment prot after reloc: Permission denied
- gentoo上使用sudo
- TMD,找个换行方法都找了几分钟
- nginx rewrite 参数和例子
- 对线性回归,logistic回归和一般回归的认识
- Continuation 和高级流程控制
- linux安装eclipse报错:cannot restore segment prot after reloc: Permission denied
- 传智播客
- Android、JUnit深入浅出(一)——JUnit初步解析
- C++初始化函数列表
- hdu 2095
- 支持向量机SVM(一)
- 输出n对括号的所有有效(左右括号成对匹配)排列
- 十六进制与十进制互转
- .Net图表开发控件Chart FX试用感受