{"id":26079,"date":"2022-11-16T14:57:19","date_gmt":"2022-11-16T13:57:19","guid":{"rendered":"https:\/\/ekiwi-blog.de\/?p=26079"},"modified":"2022-11-16T14:57:51","modified_gmt":"2022-11-16T13:57:51","slug":"linux-no-write-access-to-samba-share-from-windows","status":"publish","type":"post","link":"https:\/\/ekiwi-blog.de\/en\/26079\/linux-no-write-access-to-samba-share-from-windows\/","title":{"rendered":"Linux: No write access to Samba share from Windows"},"content":{"rendered":"<p>Read-only access to the Linux Samba server possible?<\/p>\n<p><!--more--><\/p>\n<p>I am currently tinkering with a new NAS. Using Samba, I had created a file share, however, I could not play files on it from Windows. Deleting and other write operations did not work either. A bit strange, because it had worked right after the setup, but never mind.<\/p>\n<p>My problem was\/is that I used an <a href=\"https:\/\/ekiwi-blog.de\/en\/49026\/install-chromeos-on-an-old-netbook\/\">old netbook<\/a> for the NAS. The share is on a USB drive formatted with exFat. This has the advantage that I can just plug it into a Windows computer, but it is in a way a foreign body for Linux. So file and folder permissions cannot be assigned here.<\/p>\n<p>As a workaround for the write access I simply entered the user &#8220;root&#8221; for access. By means of &#8220;force user&#8221; setting of the share.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/11\/nas_1.png\" alt=\"\" width=\"345\" height=\"148\" class=\"aligncenter size-full wp-image-26072\" srcset=\"https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/11\/nas_1.png 345w, https:\/\/ekiwi-blog.de\/wp-content\/uploads\/2022\/11\/nas_1-300x129.png 300w\" sizes=\"auto, (max-width: 345px) 100vw, 345px\" \/><\/p>\n<p>With this, the write access also worked now, since the &#8220;root&#8221; user is of course allowed to do everything. Whether this is the best solution from a security point of view, I dare to doubt, but I&#8217;m talking about a home NAS system, which in the end only I access.<\/p>","protected":false},"excerpt":{"rendered":"<p>Read-only access to the Linux Samba server possible?<\/p>\n","protected":false},"author":1,"featured_media":14881,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1555],"tags":[730,1558],"class_list":["post-26079","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-en","tag-linux","tag-windows-en"],"_links":{"self":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26079","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/comments?post=26079"}],"version-history":[{"count":0,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/posts\/26079\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media\/14881"}],"wp:attachment":[{"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/media?parent=26079"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/categories?post=26079"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ekiwi-blog.de\/en\/wp-json\/wp\/v2\/tags?post=26079"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}