rajeshkumar created the topic: can’t cobbler writable file issues in Perforce
Hi,
I often get this issues in perforce client
can’t cobbler writable file
But when do force sync this error go and instead of doing force sync and spending hell lots of time, is there any ways where i can get rids of this and get the latest file in my working location?
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
rajeshkumar replied the topic: Re: can’t cobbler writable file issues in Perforce
Solution:
When we sync the Head Revision We very often get one Info warning that “Can’t clobber writable file”. it’s very easy to force sync in case of less number of files. But when you have list of files this become tedious and time taking to do force sync.
The main reason for this issues is files under source control were marked as read-only and when a file is checked out or while editing in Editor(Eclipse, VS Studio), then it removes the read-only attribute.
To solve the issues, marked every file as read-only and get the latest revision without any errors.
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
sharieffmd replied the topic: Re: can’t cobbler writable file issues in Perforce
another way is open clientspec
p4 client
and change the options
Options: noallwrite clobber compress unlocked nomodtime rmdir
rajeshkumar replied the topic: Re: can’t cobbler writable file issues in Perforce
Thanks for useful comments. In unix / Linux Env you can also do somthing like..
chmod ugo-w /location/
Regards,
Rajesh Kumar
Twitt me @ twitter.com/RajeshKumarIn
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals