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
- Discover the Heart of India with Mera Apna Bihar - December 20, 2024
- Experience the Pulse of Bangalore with Bangalore Orbit - December 20, 2024
- Discover the City of Lakes with Bhopal Orbit - December 20, 2024