CentOS 7 Samba Shares accessible from Windows VM (using lidarr,radarr,sonarr)











up vote
0
down vote

favorite












I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.



However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"



If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.



[root@glasstop samba]# cat smb.conf
# See smb.conf.example for a more detailed config file or
# read the smb.conf manpage.
# Run 'testparm' to verify the config is correct after
# you modified it.

[global]
workgroup = SAMBA
security = user
acl_xattr:ignore system acls = yes
acl_xattr:default acl style = windows
passdb backend = tdbsam
usershare path = /var/lib/samba/usershares
usershare max shares = 100
usershare allow guests = true
printing = cups
printcap name = cups
load printers = yes
cups options = raw

[homes]
comment = Home Directories
valid users = %S, %D%w%S
browseable = No
read only = No
inherit acls = Yes

[media]
force user = nobody
comment = zfs media
path = /datuh/media
available = Yes
browseable = Yes
writeable = Yes
public = Yes
create mask = 022
read only = no
guest ok = yes
valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"

[printers]
comment = All Printers
path = /var/tmp
printable = Yes
create mask = 0600
browseable = No

[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @printadmin root
force group = @printadmin
create mask = 0664
directory mask = 0775









share|improve this question







New contributor




Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
























    up vote
    0
    down vote

    favorite












    I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.



    However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"



    If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.



    [root@glasstop samba]# cat smb.conf
    # See smb.conf.example for a more detailed config file or
    # read the smb.conf manpage.
    # Run 'testparm' to verify the config is correct after
    # you modified it.

    [global]
    workgroup = SAMBA
    security = user
    acl_xattr:ignore system acls = yes
    acl_xattr:default acl style = windows
    passdb backend = tdbsam
    usershare path = /var/lib/samba/usershares
    usershare max shares = 100
    usershare allow guests = true
    printing = cups
    printcap name = cups
    load printers = yes
    cups options = raw

    [homes]
    comment = Home Directories
    valid users = %S, %D%w%S
    browseable = No
    read only = No
    inherit acls = Yes

    [media]
    force user = nobody
    comment = zfs media
    path = /datuh/media
    available = Yes
    browseable = Yes
    writeable = Yes
    public = Yes
    create mask = 022
    read only = no
    guest ok = yes
    valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"

    [printers]
    comment = All Printers
    path = /var/tmp
    printable = Yes
    create mask = 0600
    browseable = No

    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @printadmin root
    force group = @printadmin
    create mask = 0664
    directory mask = 0775









    share|improve this question







    New contributor




    Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.



      However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"



      If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.



      [root@glasstop samba]# cat smb.conf
      # See smb.conf.example for a more detailed config file or
      # read the smb.conf manpage.
      # Run 'testparm' to verify the config is correct after
      # you modified it.

      [global]
      workgroup = SAMBA
      security = user
      acl_xattr:ignore system acls = yes
      acl_xattr:default acl style = windows
      passdb backend = tdbsam
      usershare path = /var/lib/samba/usershares
      usershare max shares = 100
      usershare allow guests = true
      printing = cups
      printcap name = cups
      load printers = yes
      cups options = raw

      [homes]
      comment = Home Directories
      valid users = %S, %D%w%S
      browseable = No
      read only = No
      inherit acls = Yes

      [media]
      force user = nobody
      comment = zfs media
      path = /datuh/media
      available = Yes
      browseable = Yes
      writeable = Yes
      public = Yes
      create mask = 022
      read only = no
      guest ok = yes
      valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"

      [printers]
      comment = All Printers
      path = /var/tmp
      printable = Yes
      create mask = 0600
      browseable = No

      [print$]
      comment = Printer Drivers
      path = /var/lib/samba/drivers
      write list = @printadmin root
      force group = @printadmin
      create mask = 0664
      directory mask = 0775









      share|improve this question







      New contributor




      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have just setup a new server and I am trying to get something working properly and I can't seem to. I have my server running CentOS7, its got 6-4tb drives in a ZFS pool that I need to be able to access from a Windows VM that is also on the server. I am currently trying to set this up to do over SMB since Windows 10 does not support ZFS. I have no issue creating a normal user and using it to map a network drive, I can see the files which are located in /datuh/media/.



      However when using Radarr, Lidarr or Sonarr the program tries to access the share with the user account that the computer is signed in as, which in this case is my user "Mark Shaw", when it tries to access the share it can successfully see and navigate the directories needed as the autocomplete function works when adding the UNC path (192.168.0.69media) however when you click add you get an error stating "Folder is not writeable by user Mark Shaw"



      If someone could explain what is going wrong here or what I could fix that would be greatly appreciated, or if someone has another way to do this that doesn't require a SMB share I would also be interested in hearing such. I have also attached my config below in case that helps.



      [root@glasstop samba]# cat smb.conf
      # See smb.conf.example for a more detailed config file or
      # read the smb.conf manpage.
      # Run 'testparm' to verify the config is correct after
      # you modified it.

      [global]
      workgroup = SAMBA
      security = user
      acl_xattr:ignore system acls = yes
      acl_xattr:default acl style = windows
      passdb backend = tdbsam
      usershare path = /var/lib/samba/usershares
      usershare max shares = 100
      usershare allow guests = true
      printing = cups
      printcap name = cups
      load printers = yes
      cups options = raw

      [homes]
      comment = Home Directories
      valid users = %S, %D%w%S
      browseable = No
      read only = No
      inherit acls = Yes

      [media]
      force user = nobody
      comment = zfs media
      path = /datuh/media
      available = Yes
      browseable = Yes
      writeable = Yes
      public = Yes
      create mask = 022
      read only = no
      guest ok = yes
      valid users = mshaw, DESKTOP-DEHAPBUMark Shaw, "DESKTOP-DEHAPBUMark Shaw"

      [printers]
      comment = All Printers
      path = /var/tmp
      printable = Yes
      create mask = 0600
      browseable = No

      [print$]
      comment = Printer Drivers
      path = /var/lib/samba/drivers
      write list = @printadmin root
      force group = @printadmin
      create mask = 0664
      directory mask = 0775






      virtualization samba centos-7 smb






      share|improve this question







      New contributor




      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 2 days ago









      Mark Shaw

      11




      11




      New contributor




      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Mark Shaw is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.



























          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376031%2fcentos-7-samba-shares-accessible-from-windows-vm-using-lidarr-radarr-sonarr%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown






























          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.










           

          draft saved


          draft discarded


















          Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.













          Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.












          Mark Shaw is a new contributor. Be nice, and check out our Code of Conduct.















           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1376031%2fcentos-7-samba-shares-accessible-from-windows-vm-using-lidarr-radarr-sonarr%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

          Mangá

           ⁒  ․,‪⁊‑⁙ ⁖, ⁇‒※‌, †,⁖‗‌⁝    ‾‸⁘,‖⁔⁣,⁂‾
”‑,‥–,‬ ,⁀‹⁋‴⁑ ‒ ,‴⁋”‼ ⁨,‷⁔„ ‰′,‐‚ ‥‡‎“‷⁃⁨⁅⁣,⁔
⁇‘⁔⁡⁏⁌⁡‿‶‏⁨ ⁣⁕⁖⁨⁩⁥‽⁀  ‴‬⁜‟ ⁃‣‧⁕‮ …‍⁨‴ ⁩,⁚⁖‫ ,‵ ⁀,‮⁝‣‣ ⁑  ⁂– ․, ‾‽ ‏⁁“⁗‸ ‾… ‹‡⁌⁎‸‘ ‡⁏⁌‪ ‵⁛ ‎⁨ ―⁦⁤⁄⁕