AR# 35095

|

12.1 EDK - XPS has trouble running backend tools or appears to freeze when running Xflow

描述

XPS has trouble running backend tools or appears to freeze when running Xflow.

解决方案

This issue occurs in a couple of different forms. The cause is due to the permission emulation that Cygwin implements.An example of this problem is that the XPS tools appear to freeze when running Xflow.

As previously mentioned, this problem is a result of a mismatch between the permissions of Windows and the emulated Cygwin.Cygwin attempts to emulate Windows permissions as equivalent Unix permissions, but sometimes this emulation does not work properly if the Windows permissions have been modified from their default settings.

You can verify the problem by opening a bash shell, enter the project directory and run "ls -al". A proper directory listing looks like the following:

drwx------+ 1 myuser mkgroup 0 2010-03-17 15:31 .
drwx------+ 1 myuser mkgroup 0 2010-03-29 16:22 ..
-rwx------+ 1 myuser mkgroup 7814 2010-03-17 14:49 system.mhs
...

where "myuser" is the current username.

An improper listing looks similar to the following:

----------+ 1 myuser mkgroup 0 2010-03-17 15:31 .
----------+ 1 myuser mkgroup 0 2010-03-29 16:22 ..
----------+ 1 myuser mkgroup 7814 2010-03-17 14:49 system.mhs
...

This indicates that Cygwin was unable to translate the Windows permissions to Unix permissions.

To fix this problem, perform the following steps:

  1. Right-click on the top-level project directory.
  2. Choose Properties.
  3. Click the Security tab.
  4. Click on the Advanced button.
  5. Under the Permissions tab, verify that the username is not present. For example, under the "Name" column there should be an entry that matches something similar to the following: "First_Name Last_Name (username@DOMAIN)".
  6. If that entry is present, verify that "Full Control" is listed under the "Permission" column and continue to step 14.
  7. If that entry is not present, click the "Add..." button.
  8. Click the Advanced button.
  9. Under "Common Queries", search for the username.
  10. When the username shows up in the list on the bottom of the window, select it and press OK.
  11. Click OK.
  12. In the dialog box that comes up, click the "Allow" checkbox that is titled "Full Control".
  13. Click OK.
  14. Select the checkbox titled "Replace permission entries on all child objects with entries shown here that apply to child objects".
  15. Click Apply.
  16. Click OK.
  17. Click OK.
After performing the above,all of the files and subfolders should contain the permission entry mentioned in step 5. If they do not, the permissions were not applied properly.

链接问答记录

主要问答记录

Answer Number 问答标题 问题版本 已解决问题的版本
34609 12.x EDK - 主要问答记录列表 N/A N/A
AR# 35095
日期 12/15/2012
状态 Archive
Type 综合文章
Tools More Less
People Also Viewed