Access Denied creating a folder in a Samba Share from a windows client











up vote
0
down vote

favorite












I am a new user and please forgive my ignorance.



I have Ubuntu Server 16.04 and am having trouble with file sharing.



Mission - give my workgroup read, write and execute access to a common drive on a Standalone Server based on a user account.



Have spend a few hours trying the standard config and testing but can only write files as the user in which the share was created. Have tried changing file level permission and added the user as admin users in the Samba Config file.



Just am now confused, the lines in the config file include the following:



[GDrive]
comment = shared document drive
path = "/home/techo1/Shared Files/GDrive"
valid users = techo1 techo2 techo3
admin users = techo1 techo2 techo3
read only = no
browsable = yes
writeable = yes
public = yes
guest ok = yes
create mask = 0644
directory mask = 0755


Also have altered the setfacl to give permission for techo2 and techo2 to have rwx access and these list with getfacl.



Am trying to connect from windows 7 clients, but there will be some windows 10 clients.



Thanks for the opportunity to post a question for this issue.



Regards










share|improve this question




























    up vote
    0
    down vote

    favorite












    I am a new user and please forgive my ignorance.



    I have Ubuntu Server 16.04 and am having trouble with file sharing.



    Mission - give my workgroup read, write and execute access to a common drive on a Standalone Server based on a user account.



    Have spend a few hours trying the standard config and testing but can only write files as the user in which the share was created. Have tried changing file level permission and added the user as admin users in the Samba Config file.



    Just am now confused, the lines in the config file include the following:



    [GDrive]
    comment = shared document drive
    path = "/home/techo1/Shared Files/GDrive"
    valid users = techo1 techo2 techo3
    admin users = techo1 techo2 techo3
    read only = no
    browsable = yes
    writeable = yes
    public = yes
    guest ok = yes
    create mask = 0644
    directory mask = 0755


    Also have altered the setfacl to give permission for techo2 and techo2 to have rwx access and these list with getfacl.



    Am trying to connect from windows 7 clients, but there will be some windows 10 clients.



    Thanks for the opportunity to post a question for this issue.



    Regards










    share|improve this question


























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am a new user and please forgive my ignorance.



      I have Ubuntu Server 16.04 and am having trouble with file sharing.



      Mission - give my workgroup read, write and execute access to a common drive on a Standalone Server based on a user account.



      Have spend a few hours trying the standard config and testing but can only write files as the user in which the share was created. Have tried changing file level permission and added the user as admin users in the Samba Config file.



      Just am now confused, the lines in the config file include the following:



      [GDrive]
      comment = shared document drive
      path = "/home/techo1/Shared Files/GDrive"
      valid users = techo1 techo2 techo3
      admin users = techo1 techo2 techo3
      read only = no
      browsable = yes
      writeable = yes
      public = yes
      guest ok = yes
      create mask = 0644
      directory mask = 0755


      Also have altered the setfacl to give permission for techo2 and techo2 to have rwx access and these list with getfacl.



      Am trying to connect from windows 7 clients, but there will be some windows 10 clients.



      Thanks for the opportunity to post a question for this issue.



      Regards










      share|improve this question















      I am a new user and please forgive my ignorance.



      I have Ubuntu Server 16.04 and am having trouble with file sharing.



      Mission - give my workgroup read, write and execute access to a common drive on a Standalone Server based on a user account.



      Have spend a few hours trying the standard config and testing but can only write files as the user in which the share was created. Have tried changing file level permission and added the user as admin users in the Samba Config file.



      Just am now confused, the lines in the config file include the following:



      [GDrive]
      comment = shared document drive
      path = "/home/techo1/Shared Files/GDrive"
      valid users = techo1 techo2 techo3
      admin users = techo1 techo2 techo3
      read only = no
      browsable = yes
      writeable = yes
      public = yes
      guest ok = yes
      create mask = 0644
      directory mask = 0755


      Also have altered the setfacl to give permission for techo2 and techo2 to have rwx access and these list with getfacl.



      Am trying to connect from windows 7 clients, but there will be some windows 10 clients.



      Thanks for the opportunity to post a question for this issue.



      Regards







      16.04 samba






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 6 '16 at 9:09









      Videonauth

      23.5k126898




      23.5k126898










      asked Jun 6 '16 at 1:53









      ThinkingUbuntu

      1114




      1114






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below:



          http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/



          So my problem was solved by:




          1. Rebuilding the server to ensure all the settings I messed with were refreshed.

          2. Followed the instructions on the website listed above.

          3. It all worked.


          Many thanks for to this community for being there and providing an answer.






          share|improve this answer





















            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: 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
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f783322%2faccess-denied-creating-a-folder-in-a-samba-share-from-a-windows-client%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below:



            http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/



            So my problem was solved by:




            1. Rebuilding the server to ensure all the settings I messed with were refreshed.

            2. Followed the instructions on the website listed above.

            3. It all worked.


            Many thanks for to this community for being there and providing an answer.






            share|improve this answer

























              up vote
              0
              down vote













              After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below:



              http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/



              So my problem was solved by:




              1. Rebuilding the server to ensure all the settings I messed with were refreshed.

              2. Followed the instructions on the website listed above.

              3. It all worked.


              Many thanks for to this community for being there and providing an answer.






              share|improve this answer























                up vote
                0
                down vote










                up vote
                0
                down vote









                After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below:



                http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/



                So my problem was solved by:




                1. Rebuilding the server to ensure all the settings I messed with were refreshed.

                2. Followed the instructions on the website listed above.

                3. It all worked.


                Many thanks for to this community for being there and providing an answer.






                share|improve this answer












                After looking through another question here, I found a link on a question someone else had asked which was a good answer, which is listed below:



                http://www.krizna.com/ubuntu/setup-file-server-ubuntu-14-04-samba/



                So my problem was solved by:




                1. Rebuilding the server to ensure all the settings I messed with were refreshed.

                2. Followed the instructions on the website listed above.

                3. It all worked.


                Many thanks for to this community for being there and providing an answer.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Jun 8 '16 at 6:32









                ThinkingUbuntu

                1114




                1114






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f783322%2faccess-denied-creating-a-folder-in-a-samba-share-from-a-windows-client%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

                    數位音樂下載

                    When can things happen in Etherscan, such as the picture below?

                    格利澤436b