Date Created: Wed 22-Sep-2010

Related Document Categories:

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/


    Why does the group in my ClearCase view have only read execute and not write

    [vobadmin@clearcase ~]$ cleartool mkview -tag test_view -host localhost.localdomain -hpath /viewstore01/test_view.vws -gpath /viewstore01/test_view.vws /viewstore01/test_view.vws
    Created view.
    Host-local path: localhost.localdomain:/viewstore01/test_view.vws
    Global path: /viewstore01/test_view.vws
    It has the following rights:
    User : vobadmin : rwx
    Group: ccusr1 : r-x
    Other: : r-x



    ========================

    On Linux and the UNIX system, the initial protection mode depends on the umask of the user who creates the view. A umask is a setting supported on Linux and the UNIX system, that specifies that some permissions are not granted when the user creates a file. (For details, see the umask reference page on Linux or the UNIX system.) When a user creates a view, Rational ClearCase begins with read, write, and execute permissions for all users and then removes the permissions specified by the user's umask. For example, if the user's umask is 002, write permission for others is removed by Rational ClearCase.

    To locate the view storage directory and display the owner, group, and protection mode for a view, use the cleartool lsview command with the -properties and -full options:

    =======================

    If you type umask, the result will be 022, which means that your default ownwership will be the inverse which is 755. We want 775, so we need a umask of 002.

    Remove the view, and re-create after the umask has been set.

    ct rmview /viewstore01/test_view.vws
    ct rmtag -view test_view

    =========================

    [vobadmin@clearcase ~]$ cleartool mkview -tag test_view -host localhost.localdomain -hpath /viewstore01/test_view.vws -gpath /viewstore01/test_view.vws /viewstore01/test_view.vws
    Created view.
    Host-local path: localhost.localdomain:/viewstore01/test_view.vws
    Global path: /viewstore01/test_view.vws
    It has the following rights:
    User : vobadmin : rwx
    Group: ccusr1 : rwx
    Other: : r-x

Get my WebSphere Application Server course here >> http://www.themiddlewareshop.com/products/

Steve Robinson - IBM Champion 2013

About Me

Steve Robinson has been working in IT for over 20 years and has provided solutions for many large-enterprise corporate companies across the world. Steve specialises in Java and Middleware.

In January 2013, I was awarded the prestigous 'IBM Champion' accolade.


Read my books?

IBM WebSphere Application Server 8.0 Administration Guide

IBM WebSphere Application Server 8.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Application Server 7.0 Administration Guide

WebSphere Categories

Other Categories