Skip to main content
1-Visitor
January 16, 2017
Solved

How to disable read-only sandbox creation for mainline project

  • January 16, 2017
  • 2 replies
  • 4025 views

Hello Support,

In the mainline version of a project, whenever a user creates a sandbox, all the files on the PC are read-only mode.

Is there any way, where this feature can be disabled automatically for that mainline project hierarchy so that whenever sandbox is created, all the files on the PC are with read-write permission instead of read-only?

Thank you.

Regards

Pashan

    Best answer by MichaelChatel

    Hi Pashan,

    This is likely due to the "locking policy" that is being used or your Integrity server configuration.  Lock policies can be set via the Administration Tool -> Configuration Management -> Policies -> Global Policies -> Locks  (you could also setup project-specific policies too)


    The behaviour you describe, is by default. What is the reason or business case you're trying to solve, in having the whole sandbox be writable by default?


    2 replies

    5-Regular Member
    January 16, 2017

    Hi Pashan,

    This is likely due to the "locking policy" that is being used or your Integrity server configuration.  Lock policies can be set via the Administration Tool -> Configuration Management -> Policies -> Global Policies -> Locks  (you could also setup project-specific policies too)


    The behaviour you describe, is by default. What is the reason or business case you're trying to solve, in having the whole sandbox be writable by default?


    pnone1-VisitorAuthor
    1-Visitor
    January 16, 2017

    Hello Michael,

    Only for a sub-project we want to have Read-Write access after new Sandbox creation.

    Default is Read Only, which is fine for all the projects.

    How do I change this default behavior only for a particular sub-project hierarchy?

    This is needed because of our software build process which modifies the source files after creating the Sandbox.

    Thank you.

    Regards

    Pashan

    16-Pearl
    January 17, 2017

    Hello Pashan None‌,

    From the command line, you can do this via CS144402‌, assuming you're using your software build process to create the sandbox as well.

    Also, you could just have the local operating system make the files all writable.

    Kind Regards,
    Kael

    1-Visitor
    March 7, 2017

    You could also remove the Read-Only attribute by script afterwards (see attrib command).