Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Can’t cobbler writable file issues in Perforce

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

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
DevOps Certification, SRE Certification, and DevSecOps Certification by DevOpsSchool

Explore our DevOps Certification, SRE Certification, and DevSecOps Certification programs at DevOpsSchool. Gain the expertise needed to excel in your career with hands-on training and globally recognized certifications.

0
Would love your thoughts, please comment.x
()
x