How to fix Perforce error “Can’t clobber writable file” or Perforce Error Message – Can’t Clobber Writable File

The “can’t clobber writable file” error happens because Perforce is very cautious about accidentally overwriting (“clobbering”) work that you’ve done in your workspace. The normal Perforce workflow is to p4 sync a file (which puts it into your workspace as read-only) and then to p4 edit it if you want to modify it (this makes … Read more