Sunday, December 5, 2010

Re: Without being owner , anybody can check-out and check-in element

This question is not answered.
Permlink Replies: 4 - Pages: 1 - Last Post: Nov 30, 2010 8:41 AM Last Post By: Anthony Coluzzi Threads: [ Previous | Next ]
Posts: 2
Registered: Nov 26, 2010 06:49:15 AM Without being owner , anybody can check-out and check-in element
Posted: Nov 29, 2010 01:56:48 AM hello,

i found that setting someone's else view and not even being owner of that element i can checkout and check in the element

what could be the issue behind it ?

Regards


Posts: 80
Registered: Mar 20, 2008 09:44:51 AM Re: Without being owner , anybody can check-out and check-in element
Posted: Nov 29, 2010 03:07:49 AM   in response to: Deepakds in response to: Deepakds's post This is the usual behaviour of ClearCase which looks OK to me...

check the view permissions.
My assumption is that you'll find out that the group has same permissions as the view's owner.

that can be changed after the view creation but easier to prevent.
E.G. (Linux/Unix) set you umask to 002 BEFORE you create the view.

HTH
YG


Posts: 426
Registered: Mar 15, 2005 04:40:07 AM Re: Without being owner , anybody can check-out and check-in element
Posted: Nov 29, 2010 05:10:56 AM   in response to: Deepakds in response to: Deepakds's post Deepakds wrote:
> what could be the issue behind it ?

What do you mean, 'the issue'?
You don't need to use anybody else's view: it depends on the config spec.

If you don't want to share files, don't use an SCM system. The whole purpose is to make development manageable by avoid duplication of information.
If you want to protect your version, apply a label on it, and lock it. And rename the branch away so that next time you can branch off it, whether orr not somebody else has created a 'next' version.

Marc


Posts: 2
Registered: Nov 26, 2010 06:49:15 AM Re: Without being owner , anybody can check-out and check-in element
Posted: Nov 30, 2010 01:03:09 AM   in response to: yarongolan in response to: yarongolan's post thanks ,

umask works for the view that wd be created in future

now the issue is what to do with the views already created

Foe Example:

ct desc /net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws
Non-MVFS directory "/net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws"
Modified: Tue Nov 30 10:44:08 2010
Protection:
User : eadiaza : rwx
Group: grcs : rwx
Other: : r-x


Is changing the permission with chmod is the right solution ??

>chmod 0755 /net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws

%ingrx025:/net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws >ct desc /net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws
Non-MVFS directory "/net/eingrna001/vol/vol_view1/cs_1views/eadiaza/eadiaza_vivr_fc_a152-pmr644.vws"
Modified: Tue Nov 30 10:44:08 2010
Protection:
User : eadiaza : rwx
Group: grcs : r-x
Other: : r-x


Posts: 203
Registered: Jan 15, 2005 05:15:03 PM Re: Without being owner , anybody can check-out and check-in element
Posted: Nov 30, 2010 08:41:03 AM   in response to: Deepakds in response to: Deepakds's post Deepakds,

Not to be rude but those problematics are explained in the Rational ClearCase Admin training and documented in the official manuals.

Groups and Users is the chapter in question.I would suggest you to read also ClearCase Unix/Windows interop publication.
On your last post you are touching another problem: view ownership and view creation view ownership is done via fix_protCI protection is done via cleartool protectview storage properties reflect user's Unix/Linux rights
If you run the Unix/Linux chmod and/or chown native commands in a view you will screw things upHelp

Use the search field to find all types of content in My developerWorks with that tag.

Use the slider bar to see more or fewer tags.

Popular tags shows the top tags for this particular type of content or application that you're viewing.

My tags shows your tags for this particular type of content or application that you're viewing.

Use the search field to find all types of content in My developerWorks with that tag. Use the slider bar to see more or fewer tags. Popular tags shows the top tags for this particular type of content or application that you're viewing. My tags shows your tags for this particular type of content or application that you're viewing.MoreLess 
Point your RSS reader here for a feed of the latest messages in all forums

View the original article here

No comments:

Post a Comment