Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Share command Exception(--Ancestor is shared)

I am trying to add files from my local drive to the ALM workspace's component using the SCM CLI share command but an exception is thrown as --ancestor is shared "C:"

My Command is like this

 lscm share -r http:example -u userid -p password Workspace Component C:\MainDirector\Subdirectory

Is there a way to share the Sub-directory but not the top level (Main directory).

Example: MainFolder contains many SubFolders and i want to share the subfolders to each induvidual component by giving the path as C:\MainFolder\SubFolder

0 votes


Accepted answer

Permanent link
That error generally means you are trying to share something from a directory that is already shared.
In your case is MainFolder already shared?
Did you happen to load the workspace into the root of C:?

If MainFolder is already shared you'll want to move 
C:\MainFolder\SubFolder
to 
C:\SubFolder and share it from there.
nanda S selected this answer as the correct answer

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,947
× 1,700
× 383

Question asked: May 16 '14, 5:50 a.m.

Question was seen: 4,651 times

Last updated: May 16 '14, 2:34 p.m.

Confirmation Cancel Confirm