Permsissions error between Raspbian and Ubuntu using CIFS and Samba

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.



smb.conf (Ubuntu)



[global]
workgroup = WORKGROUP
server string = %h server (Samba, Ubuntu)
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = no
[Storage]
path = /media/storage
read only = no
valid users = @storage-users
browseable = yes
guest ok = no
create mask = 0660
directory mask = 0770


fstab (Raspbian)



//<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0


File Directory on Client ("Test" directory made using Client)



drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test


File Directory on Server



drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
# Why is the execute for group gone?






share|improve this question
























    up vote
    0
    down vote

    favorite












    I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.



    smb.conf (Ubuntu)



    [global]
    workgroup = WORKGROUP
    server string = %h server (Samba, Ubuntu)
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog = 0
    panic action = /usr/share/samba/panic-action %d
    server role = standalone server
    passdb backend = tdbsam
    obey pam restrictions = yes
    unix password sync = yes
    passwd program = /usr/bin/passwd %u
    passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
    pam password change = yes
    map to guest = bad user
    usershare allow guests = no
    [Storage]
    path = /media/storage
    read only = no
    valid users = @storage-users
    browseable = yes
    guest ok = no
    create mask = 0660
    directory mask = 0770


    fstab (Raspbian)



    //<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0


    File Directory on Client ("Test" directory made using Client)



    drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test


    File Directory on Server



    drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
    # Why is the execute for group gone?






    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.



      smb.conf (Ubuntu)



      [global]
      workgroup = WORKGROUP
      server string = %h server (Samba, Ubuntu)
      log file = /var/log/samba/log.%m
      max log size = 1000
      syslog = 0
      panic action = /usr/share/samba/panic-action %d
      server role = standalone server
      passdb backend = tdbsam
      obey pam restrictions = yes
      unix password sync = yes
      passwd program = /usr/bin/passwd %u
      passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
      pam password change = yes
      map to guest = bad user
      usershare allow guests = no
      [Storage]
      path = /media/storage
      read only = no
      valid users = @storage-users
      browseable = yes
      guest ok = no
      create mask = 0660
      directory mask = 0770


      fstab (Raspbian)



      //<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0


      File Directory on Client ("Test" directory made using Client)



      drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test


      File Directory on Server



      drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
      # Why is the execute for group gone?






      share|improve this question












      I don't know what I'm doing wrong I have a client (Raspbian) that can access a share on my Samba server (Ubuntu). Other computers can access this folder, including Windows boxes, hence why I'm using Samba instead of NFS. When I create a test folder using my client, the permissions of it seem fine, but when I look at the server, they're all wrong. No matter what settings I've changed, they still are messed up. I've included the configurations below to better illustrate my problem (The last code block shows the issue). Any help would be greatly appreciated. Thank you.



      smb.conf (Ubuntu)



      [global]
      workgroup = WORKGROUP
      server string = %h server (Samba, Ubuntu)
      log file = /var/log/samba/log.%m
      max log size = 1000
      syslog = 0
      panic action = /usr/share/samba/panic-action %d
      server role = standalone server
      passdb backend = tdbsam
      obey pam restrictions = yes
      unix password sync = yes
      passwd program = /usr/bin/passwd %u
      passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
      pam password change = yes
      map to guest = bad user
      usershare allow guests = no
      [Storage]
      path = /media/storage
      read only = no
      valid users = @storage-users
      browseable = yes
      guest ok = no
      create mask = 0660
      directory mask = 0770


      fstab (Raspbian)



      //<SERVER_IP>/Storage /media/storage cifs credentials=/home/<USERNAME>/.smbcredentials,iocharset=utf8,rw,uid=<USERNAME>,gid=storage-users,file_mode=0660,dir_mode=0770 0 0


      File Directory on Client ("Test" directory made using Client)



      drwxrwx--- 2 USERNAME storage-users 0 Apr 30 22:42 test


      File Directory on Server



      drwxr-s--- 2 USERNAME storage-users 6 Apr 30 12:42 test
      # Why is the execute for group gone?








      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 30 at 22:54









      Mookeyj79

      11




      11

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030341%2fpermsissions-error-between-raspbian-and-ubuntu-using-cifs-and-samba%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1030341%2fpermsissions-error-between-raspbian-and-ubuntu-using-cifs-and-samba%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

          Trouble downloading packages list due to a “Hash sum mismatch” error

          How do I move numbers in filenames, in a batch renaming operation?