Unable to add: file is mapped read-only

Problem Solution
p4 add file1.txt

results in

//repo/repo1/file1.txt 
- file is mapped read-only, can only add 
file in a local depot

Create a Helix client of type graph.

See p4 client (graph) in the Helix Core Command-Line (P4) Reference.