close

最近好幾次碰到這個問題,create view的時候,會有permission denied的錯誤訊息!
找了一下,有解!

http://www-1.ibm.com/support/docview.wss?ratlid=cctocbody&rs=984&uid=swg21143558

Error: Unable to create temporary file: Permission denied

Technote (FAQ)

Problem

This technote explains why attempts to use IBM® Rational® ClearCase® Remote Client (CCRC) or ClearCase Web (CCWeb) result in Permission denied errors along with instructions to resolve the issue.

Cause

The full error message will look something like this:

Unable to access the version data for "C:\ccweb\user1\xyzzy\noncomp\makefile": error detected by ClearCase subsystem ccweb: Error: Operation "fileutl_tmpfile_ext_binary" failed: Permission denied.

Note: If the user with this problem is granted Administrator rights to the Web server, the issue appears resolved, but will reoccur as soon as those rights are removed.

Another symptom appears while attempting to edit the config spec or create a new view.

Edit config_spec:

The GUI will erroneously show that there are NO version selection rules.

Adding in rules and attempting to update the view results in the error:

Problems performing setcs.
ccweb: Error: Unable to create temporary file: Permission denied.

Creating a new view:
Unable to create the view at c:\ccweb\user1\view1
 Error detected by clearcase subsytem
 Created view
 Host: local path: host1
 c:\ccweb\user1\view1\view.s
 Created a snaphost view directory
 errors - unable to create temporary file - permission denied

The cause of these problems relates to ClearCase using a directory for temporary files where the user who is accessing the server does not have the rights necessary to create temporary files.

Solution

Edit the ccweb.conf file and edit the line:

-tmpdir {Drive and directory where users have "full control" rights}

Note: If there is a ccweb.conf file present in {Rational Install Directory}\ClearCase\var\config, edit that file.

Otherwise, copy the ccweb.conf file

  • from {Rational Install Directory}\ClearCase\config\ccweb
  • to {Rational Install Directory}\ClearCase\var\config.

照著做就可以解決囉!

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 unclepooh 的頭像
    unclepooh

    郁Two家族 維尼大叔札記

    unclepooh 發表在 痞客邦 留言(0) 人氣()