Windows 7 访问被拒绝 [英] Windows 7 Access is Denied

查看:73
本文介绍了Windows 7 访问被拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试构建提升示例.我收到以下错误:

I'm trying to build the boost examples. I get the following error:

Access is denied.
Access is denied.
...found 9 targets...
...updating 2 targets...
gcc.compile.c++ bin\gcc\debug\hello.o
Access is denied.

    "g++"  -ftemplate-depth-128 -O0 -fno-inline -Wall -g     -c -o "bin\gcc\debu
g\hello.o" "hello.cpp"

...failed gcc.compile.c++ bin\gcc\debug\hello.o...
...skipped <pbin\gcc\debug>hello.exe for lack of <pbin\gcc\debug>hello.o...
...failed updating 1 target...
...skipped 1 target...

我不熟悉 Windows 7,但我相信我拥有正确的访问权限:

I'm not familiar with Windows 7, but I believe I have the correct access rights:

谁能解释一下这个错误?谢谢.

Can anyone shed some light on this error? Thanks.

更新:

Process Manager 为 bjam 找到数百个非成功结果.一条典型的线路,如果有帮助的话,具有以下属性:

Process Manager finds hundreds of non-SUCCESS results for bjam. A typical line, if it helps, has the properties:

Desired Access: Read Attributes
Disposition:    Open
Options:    Open Reparse Point
Attributes: n/a
ShareMode:  Read, Write, Delete
AllocationSize: n/a

不过我不知道该怎么做.

I'm not sure how to act on this though.

推荐答案

调试权限问题的最简单方法是使用 进程监视器 来自 Microsoft 的工具 - 在那里您可以轻松查看发生访问被拒绝错误的对象(文件)和用户.

The easiest way to debug permission problems is to use the Process Monitor tool from Microsoft - there you can easily see on which object (file) and for which user the access denied error is occuring.

这篇关于Windows 7 访问被拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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