Search code examples
version-controlclearcase

clearfsimport Permission denied even with "–nsetevent" option for regular users


Here is the command I ran as a regular user, an the error I am getting:

M:\my_Dyn_Admin_View>clearfsimport -preview –nsetevent C:\temp\test.txt \
                                   M:\my_Dyn_Admin_View\Admin\test

clearfsimport: Error: Permission denied: not VOB owner or privileged user.

clearfsimport: Error: Unable to import into "M:\my_Dyn_Admin_View\Admin\test".

Then I have used "cleartool describe" to get the "remote" setting, and printout has below line:

modification by remote privileged user: allowed*

Any ideas what might have caused this error?

clearfsimport works for admin users in my tests, but we would like it to work for regular users


Solution

  • I mentioned clearfsimport in 2009 and pointed to "How can I use ClearCase to “add to source control …” recursively?" regarding the -nset (nsetevent)

    As mentioned in clearfsimport man page:

    You must be root (UNIX and Linux) or the VOB owner to run clearimport unless you invoke it with the -nsetevent option

    So it should work.

    Here it does not work, because your option -nsetevent is not recognized.

    It is not recognized because you are using instead of -.

    See "What's the toughest bug you ever found and fixed?"

    Retype the command, but manually type each '-'.