原创 【转】Error:do not have permission to write or create

2011-10-17 21:16 4309 12 10 分类: FPGA/CPLD
【转】Error:do not have permission to write or create

原帖地址:http://www.ramtron-online.cn/zhangjingbin/blog/10-06/191936_7d949.html

Error: Can't open project -- you do not have permission to write to all the files or create new files in the project's database directory

Solution
You may get this error when you open a project in the Nios? II IDE.
The problem is that the write protection bits to several files and directories has been set.
You can check this by pointing to your project directory (Example: C:\Projects) and right-clicking on your mouse button over the bar where Name, Size, Type and Date Modified columns are shown. Select the Attributes field. If an 'R' is shown for any of the files or directories in your project directory, then you have this problem.
To solve this:
1. Open a command shell (Start menu -> Run... -> Enter cmd and press OK).
2. Change to the project directory, i.e. cd and press Enter.
3. Run the one of the following commands:
attrib -R /S /D *
or
attrib -R /S /D .
即在当前文件夹下,把附件中fix.bat(解压后)放在当前目录下,运行即可。运行完毕后自动消失才可以。

fix.rar

--------------------------------------------------------------------------------------------------------------

今天我也遇到了这个错误,发现确实是文件夹设了只读属性,可是在右键属性中去除只读选项时,不知为何总是去除不掉,最后用“fix.rar”运行后终于可以用Quartus II打开工程了。微笑

PARTNER CONTENT

文章评论1条评论)

登录后参与讨论

火鸡农场主 2023-3-3 17:20

我是这么解决的:在工程目录上新建文本文档,打开,写入attrib -R /S /D *  然后后缀名改成cmd运行。解决。实测发现修改文件夹图标会产生这样的问题,不知道具体原因是什么。操作系统win11
相关推荐阅读
用户1644113 2015-12-19 13:15
stm32f103使用spi3
看到有朋友说要用spi3 配置不通 上传一个SPI3的程序 用的是ENC28J60网络模块 也就是直接修改的 网络实验1 LWIP无操作系统移植 的程序 mini板子...
用户1644113 2015-12-09 15:37
MDK5的Pack下载地址
  MDK5的Pack下载地址 http://www.keil.com/dd2/pack/ 留个标记 方便 大家使用...
用户1644113 2015-12-09 15:35
常见Keil MDK错误之-都是中文惹的祸
以下是来自网友的典型设置输出为中文路径发生的错误   stm32f10x_it.c: Error: command-line:  #564: cannot open preprocessi...
用户1644113 2015-12-09 09:54
详解.Net Micro Framework平台移植初步
目前MF支持ARM7和ARM9系列的CPU,随着时间的推移,一定会增加更多的CPU系列。 由于是初学嵌入式开发,所以相关内容的理解肯定是肤浅的,这个系列的文章也是边做边写,希望和嵌入式开发爱好...
用户1644113 2015-12-09 09:47
netduino之电源参考电路MC33269DT-5.0G
手里有块netduino的板子,一直闲置未用,netduino具体是什么不知道的就百度吧,我这也不是主要讲netduino开发的,简单说就是用.net开发硬件,了解到netduino也是原来学过C...
用户1644113 2015-12-09 09:40
评论:@Crystal_oscillator's Blog 博客中提到的“关于No Cortex-M Device found in JTA...”
转发...
我要评论
1
12
关闭 站长推荐上一条 /3 下一条