Is there any interest in a simple GUI to install samba and share a folder?

Forum Forums antiX-development Development Is there any interest in a simple GUI to install samba and share a folder?

  • This topic has 4 replies, 3 voices, and was last updated Nov 8-11:28 pm by marcelocripe.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #122745
    Member
    PPC

      @anticapitalista – since I had to reconfigure a samba shared folder in my work PC, to share files with my phone in a fast and wireless way, I think I can create a simple yad script to automate both the installation of samba and configure a shared folder… It’s basically just turning my previous how to to a simple script (it only requires users to enter the name of the shared folder (by default it’s “shared-folder”, or something similar) AND select the shared folder on a yad GUI (it can’t be the home folder and should be a folder created just for sharing files, due to possible permission problems).

      P.

      #122760
      Member
      blur13

        should be a folder created just for sharing files, due to possible permission problems

        Yes, I remember following your “how-to” and ran into this problem. I dont recall the details but basically the folder being shared isnt owned by the user so its impossible to move files to and from the folder. First the ownership has to be changed to the user, move some files, and then changed back again for the sharing to work.

        #122799
        Member
        PPC

          @blur13 – Yes, in some way or another I always had some kind of permission problems when using shared folders in Linux. I did have a work around jotted down somewhere on my home desktop pc that died on me, before I performed my montly back-up… It was nothing fancy, just a small tweak to the permissions, that seemed to work fine.

          EDIT: I think it was (so all groups can read and write to the shared folder), running on the “host” computer, this command (replacing /FULL/PATH/OF/FOLDER/TO/BE/SHARED with the real shared folder’s path):
          sudo chmod -R a+wr /FULL/PATH/OF/FOLDER/TO/BE/SHARED

          P.

          • This reply was modified 8 months, 2 weeks ago by PPC.
          • This reply was modified 8 months, 2 weeks ago by PPC.
          #122813
          Member
          PPC

            I wrote a small script last night, that should configure a shared folder, selected by the user, via a GUI. If samba is not currently installed, the script will offer to install it automatically.

            Please note: this script will delete any existing samba config file (it backs the old config file before doing that, but you should back it up manually if you already have samba shares configured.

            Although this, for now, only allows to configure a single shared folder (that can, of course, have sub-folders), it aims to make sharing any single folder in antiX as easy as it is in some other OSes: just click next, next, select the folder to be shared, and you are set… There’s even a window that tells you what’s the current address of your shared folder.
            For now, I will not add the feature to add more shared folders.

            If this is a feature anyone requires, please test the script.

            EDIT: sambar-v02.tar includes a tiny bug fix (the script did not exit if the home folder was selected to be shared). Also made text more explicit and corrected a typo.

            P.

            • This reply was modified 8 months, 2 weeks ago by PPC.
            #122965
            Member
            marcelocripe

              Hello PPC.
              Thank you very much for this important program for antiX.
              I hope the anti-capitalist will be more accepting of this important addition to ISO full’s antiX.
              With this program, antiX will become the most user-friendly GNU/Linux for antiX Linux newcomers.
              Thank you very much!

              – – – – –

              Olá PPC.
              Muito obrigado por mais este importante programa para o antiX.
              Eu espero que o anticapitalista aceite mais esta importante adição para o antiX da ISO full.
              Com este programa, o antiX se tornará o GNU/Linux mais amigável para os recém-chegados no antiX Linux.
              Muito obrigado!

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.