{"id":1708,"date":"2017-12-06T04:46:40","date_gmt":"2017-12-06T04:46:40","guid":{"rendered":"http:\/\/www.scmgalaxy.com\/tutorials\/?p=1708"},"modified":"2025-02-01T22:39:35","modified_gmt":"2025-02-01T22:39:35","slug":"cant-cobbler-writable-file-issues-in-perforce","status":"publish","type":"post","link":"https:\/\/www.devopsschool.com\/blog\/cant-cobbler-writable-file-issues-in-perforce\/","title":{"rendered":"Can&#8217;t cobbler writable file issues in Perforce"},"content":{"rendered":"<p><strong>rajeshkumar created the topic: can&#8217;t cobbler writable file issues in Perforce<\/strong><br \/>\nHi,<\/p>\n<p>I often get this issues in perforce client<br \/>\ncan&#8217;t cobbler writable file<\/p>\n<p>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?<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @ <a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\">twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>rajeshkumar replied the topic: Re: can&#8217;t cobbler writable file issues in Perforce<\/strong><br \/>\nSolution:<\/p>\n<p>When we sync the Head Revision We very often get one Info warning that &#8220;Can\u2019t clobber writable file&#8221;. it\u2019s 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.<\/p>\n<p>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.<\/p>\n<p>To solve the issues, marked every file as read-only and get the latest revision without any errors.<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @<a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\"> twitter.com\/RajeshKumarIn<\/a><\/p>\n<p><strong>sharieffmd replied the topic: Re: can&#8217;t cobbler writable file issues in Perforce<\/strong><br \/>\nanother way is open clientspec<\/p>\n<p>p4 client<br \/>\nand change the options<\/p>\n<p>Options: noallwrite clobber compress unlocked nomodtime rmdir<\/p>\n<p><strong>rajeshkumar replied the topic: Re: can&#8217;t cobbler writable file issues in Perforce<\/strong><br \/>\nThanks for useful comments. In unix \/ Linux Env you can also do somthing like..<br \/>\nchmod ugo-w \/location\/<br \/>\nRegards,<br \/>\nRajesh Kumar<br \/>\nTwitt me @<a href=\"http:\/\/twitter.com\/RajeshKumarIn\" target=\"_blank\" rel=\"noopener\"> twitter.com\/RajeshKumarIn<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>rajeshkumar created the topic: can&#8217;t cobbler writable file issues in Perforce Hi, I often get this issues in perforce client can&#8217;t cobbler writable file But when do force sync this&#8230; <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_joinchat":[],"footnotes":""},"categories":[370],"tags":[373],"class_list":["post-1708","post","type-post","status-publish","format-standard","hentry","category-perforce","tag-perforce"],"_links":{"self":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1708","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/comments?post=1708"}],"version-history":[{"count":1,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1708\/revisions"}],"predecessor-version":[{"id":1709,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/posts\/1708\/revisions\/1709"}],"wp:attachment":[{"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/media?parent=1708"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/categories?post=1708"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.devopsschool.com\/blog\/wp-json\/wp\/v2\/tags?post=1708"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}