{"id":2095,"date":"2016-12-19T04:19:45","date_gmt":"2016-12-19T12:19:45","guid":{"rendered":"http:\/\/systemsolver.com\/StatlerBlog\/?p=2095"},"modified":"2016-12-19T04:19:45","modified_gmt":"2016-12-19T12:19:45","slug":"linux-samba-share-group-write-problem","status":"publish","type":"post","link":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/2016\/12\/19\/linux-samba-share-group-write-problem\/","title":{"rendered":"linux samba share group write problem"},"content":{"rendered":"<p>Group write premission was not being allowed with the default samba server configuration. Very frustrating, I tried a zillion things with chmod and acl on the client mounted folder but nothing worked. Thanks to <a href=\"http:\/\/askubuntu.com\/questions\/210808\/set-umask-set-permissions-and-set-acl-but-samba-isnt-using-those\">http:\/\/askubuntu.com\/questions\/210808\/set-umask-set-permissions-and-set-acl-but-samba-isnt-using-those<\/a> I fixed it.<\/p>\n<p>Adding the following to the \/etc\/samba\/smb.conf file for the folder I wanted shared solved the problem<\/p>\n<pre style=\"padding-left: 30px;\">create mask = 664\nforce create mode = 664\nsecurity mask = 664\nforce security mode = 664\ndirectory mask = 2775\nforce directory mode = 2775\ndirectory security mask = 2775\nforce directory security mode = 2775<\/pre>\n<p>So, as an example, I had the section:<\/p>\n<pre style=\"padding-left: 30px;\">[Office-Files]\n\npath = \/media\/Office-Files\nguest ok = yes\nwriteable = yes\ncreate mask = 664\nforce create mode = 664\nsecurity mask = 664\nforce security mode = 664\ndirectory mask = 2775\nforce directory mode = 2775\ndirectory security mask = 2775\nforce directory security mode = 2775<\/pre>\n<p>Once smb.conf is change you need to restart samba<\/p>\n<pre>sudo service samba restart<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Group write premission was not being allowed with the default samba server configuration. Very frustrating, I tried a zillion things with chmod and acl on the client mounted folder but nothing worked. Thanks to http:\/\/askubuntu.com\/questions\/210808\/set-umask-set-permissions-and-set-acl-but-samba-isnt-using-those I fixed it. Adding the following to the \/etc\/samba\/smb.conf file for the folder I wanted shared solved the problem create [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[],"class_list":["post-2095","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/2095","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/comments?post=2095"}],"version-history":[{"count":0,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/posts\/2095\/revisions"}],"wp:attachment":[{"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/media?parent=2095"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/categories?post=2095"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/systemsolver.goodhealthyday.com\/StatlerBlog\/wp-json\/wp\/v2\/tags?post=2095"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}