Samba, files readable but not writable Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Samba needs additional restart on reboot?I managed to set up a samba file server, but have to use gksudo to add or remove files!I have a problem with domain trust between samba and ADSamba shares not accessible from Windows 8.1 with Ubuntu 14.04 LTSWindows7 machine cannot access Linux share folders via Samba, help pleaseCan read but cannot write to Samba shareIssues with Samba ConnectionFixing smb login, disk permissions, and remote accessSamba is not working but smbclient doesSharing External Drive using Samba in Ubuntu 18.04

In musical terms, what properties are varied by the human voice to produce different words / syllables?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Relating to the President and obstruction, were Mueller's conclusions preordained?

Universal covering space of the real projective line?

Does the Black Tentacles spell do damage twice at the start of turn to an already restrained creature?

New Order #6: Easter Egg

The test team as an enemy of development? And how can this be avoided?

What would you call this weird metallic apparatus that allows you to lift people?

Delete free apps from library

Why do early math courses focus on the cross sections of a cone and not on other 3D objects?

Getting out of while loop on console

Sally's older brother

How can I prevent/balance waiting and turtling as a response to cooldown mechanics

GDP with Intermediate Production

Trying to understand entropy as a novice in thermodynamics

What is the difference between a "ranged attack" and a "ranged weapon attack"?

License to disallow distribution in closed source software, but allow exceptions made by owner?

What initially awakened the Balrog?

The Nth Gryphon Number

Co-worker has annoying ringtone

Monty Hall Problem-Probability Paradox

As a dual citizen, my US passport will expire one day after traveling to the US. Will this work?

What are the main differences between Stargate SG-1 cuts?

One-one communication



Samba, files readable but not writable



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Samba needs additional restart on reboot?I managed to set up a samba file server, but have to use gksudo to add or remove files!I have a problem with domain trust between samba and ADSamba shares not accessible from Windows 8.1 with Ubuntu 14.04 LTSWindows7 machine cannot access Linux share folders via Samba, help pleaseCan read but cannot write to Samba shareIssues with Samba ConnectionFixing smb login, disk permissions, and remote accessSamba is not working but smbclient doesSharing External Drive using Samba in Ubuntu 18.04



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








2















Environment: PC with Windows 8.1 and Raspberry Pi with Raspbian. On PC, the whole C: drive is shared.



Needed: Minimal possibility to move .jar files developed on PC to Raspberry. Some more file management from PC on Raspberry would be nice: removing files, renaming files, making directories, etc. would be nice.



I modified the default smb.conf file as follows:



[global]
workgroup= MS-HOME
wins support = yes
security=share
usershare max shares=100

[homes]
read only=no
writable=yes
create mask =0777
guest ok =yes
directory mask = 0777

[pihome]
comment= Pi Home
path=/home/pi
browsable=yes
writable=yes
only guest=no
create mask =0777
create directory=0777
public=yes


Now, from my PC I can e.g. read a text file, but I cannot update it. Also, I cannot create a directory; not authorized.



What is wrong is my smb.conf?










share|improve this question
















bumped to the homepage by Community 11 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    2















    Environment: PC with Windows 8.1 and Raspberry Pi with Raspbian. On PC, the whole C: drive is shared.



    Needed: Minimal possibility to move .jar files developed on PC to Raspberry. Some more file management from PC on Raspberry would be nice: removing files, renaming files, making directories, etc. would be nice.



    I modified the default smb.conf file as follows:



    [global]
    workgroup= MS-HOME
    wins support = yes
    security=share
    usershare max shares=100

    [homes]
    read only=no
    writable=yes
    create mask =0777
    guest ok =yes
    directory mask = 0777

    [pihome]
    comment= Pi Home
    path=/home/pi
    browsable=yes
    writable=yes
    only guest=no
    create mask =0777
    create directory=0777
    public=yes


    Now, from my PC I can e.g. read a text file, but I cannot update it. Also, I cannot create a directory; not authorized.



    What is wrong is my smb.conf?










    share|improve this question
















    bumped to the homepage by Community 11 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      2












      2








      2








      Environment: PC with Windows 8.1 and Raspberry Pi with Raspbian. On PC, the whole C: drive is shared.



      Needed: Minimal possibility to move .jar files developed on PC to Raspberry. Some more file management from PC on Raspberry would be nice: removing files, renaming files, making directories, etc. would be nice.



      I modified the default smb.conf file as follows:



      [global]
      workgroup= MS-HOME
      wins support = yes
      security=share
      usershare max shares=100

      [homes]
      read only=no
      writable=yes
      create mask =0777
      guest ok =yes
      directory mask = 0777

      [pihome]
      comment= Pi Home
      path=/home/pi
      browsable=yes
      writable=yes
      only guest=no
      create mask =0777
      create directory=0777
      public=yes


      Now, from my PC I can e.g. read a text file, but I cannot update it. Also, I cannot create a directory; not authorized.



      What is wrong is my smb.conf?










      share|improve this question
















      Environment: PC with Windows 8.1 and Raspberry Pi with Raspbian. On PC, the whole C: drive is shared.



      Needed: Minimal possibility to move .jar files developed on PC to Raspberry. Some more file management from PC on Raspberry would be nice: removing files, renaming files, making directories, etc. would be nice.



      I modified the default smb.conf file as follows:



      [global]
      workgroup= MS-HOME
      wins support = yes
      security=share
      usershare max shares=100

      [homes]
      read only=no
      writable=yes
      create mask =0777
      guest ok =yes
      directory mask = 0777

      [pihome]
      comment= Pi Home
      path=/home/pi
      browsable=yes
      writable=yes
      only guest=no
      create mask =0777
      create directory=0777
      public=yes


      Now, from my PC I can e.g. read a text file, but I cannot update it. Also, I cannot create a directory; not authorized.



      What is wrong is my smb.conf?







      samba






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 1 '15 at 16:20









      Jens Erat

      4,18972031




      4,18972031










      asked Apr 1 '15 at 11:14









      Harry BarenbrugHarry Barenbrug

      1112




      1112





      bumped to the homepage by Community 11 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 11 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          If I understand, you wish to have total control (read/write/create...) on the 'pihome' share.
          Then, use the following:

          [pihome]
          comment= Pi Home
          path=/home/pi
          browsable=yes
          writable=yes
          force create mode = 0777
          force directory mode = 0777
          public=yes



          About the 'homes' section: this is normally referring to the directory that belongs to a specific user on Unix (normally /home/uid). As such, it is intended to be only available per user (which means you have to enter uid + password)
          I would therefore leave it unchanged from the default value:

          [homes]
          comment = Unix user directory
          valid users = %S
          read only = No
          browseable = No






          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',
            autoActivateHeartbeat: false,
            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%2f603938%2fsamba-files-readable-but-not-writable%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









            0














            If I understand, you wish to have total control (read/write/create...) on the 'pihome' share.
            Then, use the following:

            [pihome]
            comment= Pi Home
            path=/home/pi
            browsable=yes
            writable=yes
            force create mode = 0777
            force directory mode = 0777
            public=yes



            About the 'homes' section: this is normally referring to the directory that belongs to a specific user on Unix (normally /home/uid). As such, it is intended to be only available per user (which means you have to enter uid + password)
            I would therefore leave it unchanged from the default value:

            [homes]
            comment = Unix user directory
            valid users = %S
            read only = No
            browseable = No






            share|improve this answer



























              0














              If I understand, you wish to have total control (read/write/create...) on the 'pihome' share.
              Then, use the following:

              [pihome]
              comment= Pi Home
              path=/home/pi
              browsable=yes
              writable=yes
              force create mode = 0777
              force directory mode = 0777
              public=yes



              About the 'homes' section: this is normally referring to the directory that belongs to a specific user on Unix (normally /home/uid). As such, it is intended to be only available per user (which means you have to enter uid + password)
              I would therefore leave it unchanged from the default value:

              [homes]
              comment = Unix user directory
              valid users = %S
              read only = No
              browseable = No






              share|improve this answer

























                0












                0








                0







                If I understand, you wish to have total control (read/write/create...) on the 'pihome' share.
                Then, use the following:

                [pihome]
                comment= Pi Home
                path=/home/pi
                browsable=yes
                writable=yes
                force create mode = 0777
                force directory mode = 0777
                public=yes



                About the 'homes' section: this is normally referring to the directory that belongs to a specific user on Unix (normally /home/uid). As such, it is intended to be only available per user (which means you have to enter uid + password)
                I would therefore leave it unchanged from the default value:

                [homes]
                comment = Unix user directory
                valid users = %S
                read only = No
                browseable = No






                share|improve this answer













                If I understand, you wish to have total control (read/write/create...) on the 'pihome' share.
                Then, use the following:

                [pihome]
                comment= Pi Home
                path=/home/pi
                browsable=yes
                writable=yes
                force create mode = 0777
                force directory mode = 0777
                public=yes



                About the 'homes' section: this is normally referring to the directory that belongs to a specific user on Unix (normally /home/uid). As such, it is intended to be only available per user (which means you have to enter uid + password)
                I would therefore leave it unchanged from the default value:

                [homes]
                comment = Unix user directory
                valid users = %S
                read only = No
                browseable = No







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 1 '15 at 12:37









                Marc VanhoomissenMarc Vanhoomissen

                88411119




                88411119



























                    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.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f603938%2fsamba-files-readable-but-not-writable%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