Index syndication
comment syndication

Clearcase Element Permissions on Unix

August 14, 2007 at 16:18 · Filed under clearcase, unix

I was wondering how to set permissions on an element in clearcase under unix. You can’t just use your normal chmod. After reading “Phil for Humanity” I had the answer:
cleartool protect -chmod 550 myscript.sh
Quite simple after all. Your file, in this case myscript.sh, will now have the permissions you want.
Remember however, if you try to set write permissions on a file element, it wont set. The clearcase man page for protect advises that write perms are ignored - instead to obtain write permission to a file element, it must be checked out.
In the case of a directory element the write permission allows you to create view-private files.
Don’t forget the umask should be set correctly before you start creating files!

Share this post: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Slashdot
  • Technorati
  • Reddit
  • StumbleUpon
  • Facebook
  • Propeller
  • BlogMemes
  • Google
  • YahooMyWeb
  • NewsVine

Leave a Comment