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

2010-10-16 20:30 4284 8 8 分类: FPGA/CPLD

原帖地址: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

文章评论0条评论)

登录后参与讨论
EE直播间
更多
我要评论
0
8
关闭 站长推荐上一条 /3 下一条