To hijack a file

About this task

Use one of the following methods to hijack a file:

Procedure

  • To hijack a file using the command line, use chmod to add the write permission and then modify the file.
    For example:
    
    chmod +w foo.c 
    
  • On Windows systems only, to hijack a file in HCL VersionVault Windows Explorer, perform the following actions:
    1. Right-click the file to hijack and click Properties to display the property sheet.
    2. On the General page, clear the Read-only check box.