您没有必要的权限来查看“eclipse”的内容。 [英] You do not have the permissionss necessary to view the contentss of "eclipse"

查看:639
本文介绍了您没有必要的权限来查看“eclipse”的内容。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我不小心输入以下命令:

I accidently entered below commands:

sudo chown -R root:root /home/shuvro/android-sdk-linux
sudo chmod -R +r /home/shuvro/android-sdk-linux

运行命令,现在我无法打开eclipse。现在我可以做什么?

Arter running the commands, now I am unable to open eclipse. Now what can I do?

这里android-sdk-linux是我放eclipse的文件夹。

Here android-sdk-linux is the folder where I put eclipse adt.

推荐答案

您更改了文件夹的所有权。现在它只能由root打开,即使用sudo命令。您需要再次更改权限给用户。只需键入:

You changed the ownership of the folder. Now it can be opened only by root, i.e. using sudo command. You need to change the permission to the user again. Just type:

chown -R <your user name> <path to the folder>

同时阅读一些指南如何使用chown和chmod命令。以下是两个示例: chown chmod

Also read some guides how to use chown and chmod commands. Here are two examples: chown chmod

如果你是Android编程中的创始人,我建议先从 Android Studio 开始,而不是Eclipse ADT,因为Eclipse不再进一步发展。

If you are a begginer in android programming, I'd recommend to start with Android Studio instead of Eclipse ADT, as Eclipse is out of further development.

这篇关于您没有必要的权限来查看“eclipse”的内容。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆