{"id":1216,"date":"2013-02-18T12:59:08","date_gmt":"2013-02-18T17:59:08","guid":{"rendered":"http:\/\/www.oztalay.com\/matt\/?p=1216"},"modified":"2013-02-18T12:59:08","modified_gmt":"2013-02-18T17:59:08","slug":"perforce-cannot-mkdir-error","status":"publish","type":"post","link":"http:\/\/www.oztalay.com\/matt\/perforce-cannot-mkdir-error\/","title":{"rendered":"Perforce &#8220;Cannot mkdir&#8221; Error"},"content":{"rendered":"<p>I ran into an issue setting up my own Perforce server recently where I could not submit local files to a depot I had created manually. Perforce threw all manner of errors including &#8220;cannot mkdir &lt;depotname&gt;&#8221; etc. etc. etc. Looking online, it seemed like the issue ran much deeper than it actually was. The problem, I found out, was that when I made the new depot I had set its mapping as &#8220;\/\/&lt;depotname&gt;\/&#8230;&#8221;, which is wrong. All depot mappings in Perforce need to be &#8220;&lt;depotname&gt;\/&#8230;&#8221; because they are mapped to the p4root directory.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into an issue setting up my own Perforce server recently where I could not submit local files to a depot I had created manually. Perforce threw all manner of errors including &#8220;cannot mkdir &lt;depotname&gt;&#8221; etc. etc. etc. Looking online, it seemed like the issue ran much deeper than it actually was. The problem, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[205],"tags":[210,211,209,188],"class_list":["post-1216","post","type-post","status-publish","format-standard","hentry","category-tech-art-2","tag-p4","tag-p4-depot","tag-perforce","tag-tech-art"],"_links":{"self":[{"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/posts\/1216","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/comments?post=1216"}],"version-history":[{"count":1,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/posts\/1216\/revisions"}],"predecessor-version":[{"id":1217,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/posts\/1216\/revisions\/1217"}],"wp:attachment":[{"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/media?parent=1216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/categories?post=1216"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.oztalay.com\/matt\/wp-json\/wp\/v2\/tags?post=1216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}