This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Upon checking in a file I receive the following message in an error window: "cleartool: Error: No permission to perform operation "protect". cleartool: Error: Must be one of: object owner, VOB owner, member of ClearCase group" After clicking OK, the file gets checked in correctly. I have the correct permissions and everything else works great.
we don't do anything with "protect" from the ide. seems to be somehow related to your configuration. what happens if you try to checkin a file via cleartool? does it work without the error? to get the exact cleartool command which is run from the IDE start netbeans with the cmd line switch -J-Dorg.netbeans.modules.clearcase.level=500 it should be something like 'Cleartool: Executing "checkin ..."' thanks
Trying to run with the extra debugging now... Where should the output of the command be displayed? It's not in my standard out nor is it in the "Output - ClearCase" As for checking in normally, I'm not using cleartool, I use the ClearCase Explorer client, which works fine. Here was my work flow to begin working with ClearCase inside NetBeans. - Installed ClearCase plugin - Added my project from my ClearCase view From that point the project seemed to automatically take to the ClearCase plugin and I was able to see the status of files and work with them without any problems. The only issue is in the checkin process and all that I'm getting in the output is: --------------------------------------------------- cleartool: Error: No permission to perform operation "protect". cleartool: Error: Must be one of: object owner, VOB owner, member of ClearCase group cleartool: Error: Unable to change protection on "Z:\IEDB_Components_vob\WeeklyActuals\app\models\charge.rb". ---------------------------------------------------
> Trying to run with the extra debugging now... Where should the output of the command be displayed? It's not in my > standard out nor is it in the "Output - ClearCase" sorry, i didn't mention that. The log is stored in [netbeans_user_dir]/var/log/messages.log. You also may inspect it via Main menu > View > IDE Log File > As for checking in normally, I'm not using cleartool, I use the ClearCase Explorer client, which works fine. well, netbeans is running the CC commands via cleartool and as long it returns the reported error it is a thing somewhere in your client/server configuration. Of course, we should decide what to do with it. We might e.g. filter it so it won't be shown to the user (only logged). It could be that this is what the ClearCase Explorer client does, and the error is only logged somewhere (CC or the windows event log). The problem here is we don't know what exactly the error means and what consequences it might have and even more it might be harmless for you but malign for some another user. - could you please run the cleartool command from the cmd line. Maybe we will learn more ... - could it be you know by yourself where the error comes from or maybe is there a chance you could find out by your administrator? - maybe you also could check the logs on your box if there is something more about thanks
I modified a file, saved it, proceeded with a checkin and here's the dump below. Even though I received the error message, the file was still checked in and I can pull up ClearCase explorer and do a diff on the previous version and see my change: FINE [org.netbeans.modules.clearcase]: Progress finnished: Preparing Add To... FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "checkin -cfile C:\DOCUME~1\WILLIM~1\LOCALS~1\Temp\clearcase-6769.txt actual.rb" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: No permission to perform operation "protect"." FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Must be one of: object owner, VOB owner, member of ClearCase group" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Unable to change protection on "Z:\IEDB_Components_vob\WeeklyActuals\app\models\actual.rb"." FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Reader timed out FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Process invalid FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Creating cleartool process... FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: shell process running FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: cleartool process created FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "ls -long Z:\IEDB_Components_vob\WeeklyActuals\app\models" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "version Z:\IEDB_Components_vob\WeeklyActuals\app\models\actual.rb@@\main\willima10_Rails_Development\8 Rule: element [631512b5135611dc9b2200018317ed0e=\IEDB_Components_vob]\WeeklyActuals\... ...\willima10_Rails_Development\LATEST" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "version Z:\IEDB_Components_vob\WeeklyActuals\app\models\budget_plan.rb@@\main\willima10_Rails_Development\6 Rule: element [631512b5135611dc9b2200018317ed0e=\IEDB_Components_vob]\WeeklyActuals\... ...\willima10_Rails_Development\LATEST" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "version Z:\IEDB_Components_vob\WeeklyActuals\app\models\charge.rb@@\main\willima10_Rails_Development\CHECKEDOUT from \main\willima10_Rails_Development\5 Rule: element * CHECKEDOUT" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "version Z:\IEDB_Components_vob\WeeklyActuals\app\models\rollup.rb@@\main\willima10_Rails_Development\4 Rule: element [631512b5135611dc9b2200018317ed0e=\IEDB_Components_vob]\WeeklyActuals\... ...\willima10_Rails_Development\LATEST" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "version Z:\IEDB_Components_vob\WeeklyActuals\app\models\user.rb@@\main\willima10_Rails_Development\2 Rule: element [631512b5135611dc9b2200018317ed0e=\IEDB_Components_vob]\WeeklyActuals\... ...\willima10_Rails_Development\LATEST" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "lsco -fmt "%En<~=~>%u<~=~>%Rf\n" -me -cview Z:\IEDB_Components_vob\WeeklyActuals\app\models" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: OUTPUT "Z:\IEDB_Components_vob\WeeklyActuals\app\models\charge.rb<~=~>willima10<~=~>reserved" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "get -to C:\DOCUME~1\WILLIM~1\LOCALS~1\Temp\nbclearcase-6770get Z:\IEDB_Components_vob\WeeklyActuals\app\models\actual.rb@@\main\willima10_Rails_Development\8" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "ls -long -directory 'C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294'" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Pathname is not within a VOB: "C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294"" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "ls -long -directory 'C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294'" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Unable to access "C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294": No such file or directory." FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "ls -long -directory 'C:\Documents and Settings\willima10\Local Settings\Temp'" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Pathname is not within a VOB: "C:\Documents and Settings\willima10\Local Settings\Temp"" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: Executing "ls -long 'C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294\actual.rb'" FINE [org.netbeans.modules.clearcase.client.Cleartool]: Cleartool: ERROR "cleartool: Error: Unable to access "C:\Documents and Settings\willima10\Local Settings\Temp\vcs-1205848789294\actual.rb": No such file or directory."
> Even though I received the error > message, the file was still checked in and I can pull up ClearCase explorer and do a diff on the previous version and > see my change: it looks like that something tries too change the permissions on the "actual.rb" file and it doesn't work. The file itself was checked in so the problem doesn't seem to be related to the actual checkin action - again, could you, please, modify a file and try to check it in from cleartool? the cmd nb invoked was "checkin -cfile C:\DOCUME~1\WILLIM~1\LOCALS~1\Temp\clearcase-6769.txt actual.rb" ignore the -cfile switch for now and run just "checkin actual.rb" - is it a netbeans ruby project you are working on?
Z:\IEDB_Components_vob\WeeklyActuals\app\models>cleartool checkin -nc actual.rb cleartool: Error: No permission to perform operation "protect". cleartool: Error: Must be one of: object owner, VOB owner, member of ClearCase group cleartool: Error: Unable to change protection on "Z:\IEDB_Components_vob\WeeklyActuals\app\models\actual.rb". Checked in "actual.rb" version "\main\willima10_Rails_Development\10". Attached activities: activity:Week_Ending_3_21_2008@\IEDB_pvob "Week Ending 3/21/2008" --------------------- This is a Ruby on Rails NetBeans project. I'm now working with one of our ClearCase administrators to work this issue as well... So this could very well be a non-netbeans issue. I'll follow-up if anything is resolved on this end of things.
let us know if you find out. thanks.
As a temporary fix I've just been told that this is the result of a bad trigger somewhere and to ignore it... Perhaps the ability to suppress cleartool errors as an option somewhere? Or a "Ignore this error from now on" type of dialog as my files are being checked in with no problems, it's just an annoyance with that window popping up at every check in.
> Perhaps the ability to suppress cleartool errors as an option somewhere? yup. i've filed a new issue #130417 to keep things clean and will close this one as worksforme