{"id":6637,"date":"2014-04-20T13:58:40","date_gmt":"2014-04-20T13:58:40","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/problem-about-adduser-collection-of-common-programming-errors\/"},"modified":"2014-04-20T13:58:40","modified_gmt":"2014-04-20T13:58:40","slug":"problem-about-adduser-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/04\/20\/problem-about-adduser-collection-of-common-programming-errors\/","title":{"rendered":"problem about adduser-Collection of common programming errors"},"content":{"rendered":"<ul>\n<li><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/82aaf83c769549429c3c5650dee5e738?s=32&amp;d=identicon&amp;r=PG\" \/><br \/>\nRoman Dryndik<br \/>\npermissions environment-variables git adduser<br \/>\nI want to create a new user and give him possibility to use git. So, I&#8217;ve installed git:sudo apt-get install gitAfter that I&#8217;ve created a user:sudo useradd -d \/home\/developer -s \/bin\/bash -g sudo -m developerAnd now I have a problem. When I switch to a new user and try to do something like this:git clone &lt;&lt;here is a path&gt;&gt;I get this error message:fatal: unable to access &#8216;\/home\/roman\/.config\/git\/config&#8217;: Permission deniedI can&#8217;t get why environment variables points to another user fol<\/li>\n<\/ul>\n<p>Web site is in building<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Roman Dryndik permissions environment-variables git adduser I want to create a new user and give him possibility to use git. So, I&#8217;ve installed git:sudo apt-get install gitAfter that I&#8217;ve created a user:sudo useradd -d \/home\/developer -s \/bin\/bash -g sudo -m developerAnd now I have a problem. When I switch to a new user and try [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-6637","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6637","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=6637"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/6637\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=6637"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=6637"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=6637"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}