Setting up proftpd/users for User Perivate GroupsProFTPD Virtual User Directoryproftpd initial directory for...

How do you justify more code being written by following clean code practices?

Telemetry for feature health

If Captain Marvel (MCU) were to have a child with a human male, would the child be human or Kree?

Air travel with refrigerated insulin

Is there a reason to prefer HFS+ over APFS for disk images in High Sierra and/or Mojave?

Origin of pigs as a species

How were servants to the Kaiser of Imperial Germany treated and where may I find more information on them

Deciphering cause of death?

Showing mass murder in a kid's book

What happens if I try to grapple mirror image?

Should I assume I have passed probation?

Why does a 97 / 92 key piano exist by Bösendorfer?

Grepping string, but include all non-blank lines following each grep match

Are Captain Marvel's powers affected by Thanos breaking the Tesseract and claiming the stone?

Why didn’t Eve recognize the little cockroach as a living organism?

How can I, as DM, avoid the Conga Line of Death occurring when implementing some form of flanking rule?

Isometric embedding of a genus g surface

What is the smallest number n> 5 so that 5 ^ n ends with "3125"?

What the heck is gets(stdin) on site coderbyte?

If A is dense in Q, then it must be dense in R.

"Oh no!" in Latin

Ways of geometrical multiplication

How do I prevent inappropriate ads from appearing in my game?

Can you identify this lizard-like creature I observed in the UK?



Setting up proftpd/users for User Perivate Groups


ProFTPD Virtual User Directoryproftpd initial directory for each userUser permissions linux. (proftpd / nginx)Configuring Proftpd users without system usersProftpd user cannot write/delete in home directoryHow do i get centos 7 to use uids and gids from active directory?Permissions denied for proftpd virtual usersProftpd connexion limitation rule by userProFTPd: how to show virtual user name in listings?proftpd /etc/security/pam_env.conf: permission denied













0















I am using User Private Groups on a CentOS7 server and I can't seem to get things quite working.



Firstly the standard users seen to have a mask of 0022 and I am fairly sure it should be 002 for UPG.



The user has /bin/sh set in its /etc/password and has a uid/gid 1017.



The bit of /etc/profile setting umask is:



UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
umask 002
else
umask 022
fi


/usr/bin/id -gn <> /usr/bin/id -un



But I quess this must be there for a reason. Not sure why this is here/if it is safe to remove.



I am assuming here that proftpd is using the users umask as this seems consistent with what is happening. The new files FTPd to the server are u+rw, g+rw, o+r.



So I think all I need to do is sort out umask for the user?









share



























    0















    I am using User Private Groups on a CentOS7 server and I can't seem to get things quite working.



    Firstly the standard users seen to have a mask of 0022 and I am fairly sure it should be 002 for UPG.



    The user has /bin/sh set in its /etc/password and has a uid/gid 1017.



    The bit of /etc/profile setting umask is:



    UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
    umask 002
    else
    umask 022
    fi


    /usr/bin/id -gn <> /usr/bin/id -un



    But I quess this must be there for a reason. Not sure why this is here/if it is safe to remove.



    I am assuming here that proftpd is using the users umask as this seems consistent with what is happening. The new files FTPd to the server are u+rw, g+rw, o+r.



    So I think all I need to do is sort out umask for the user?









    share

























      0












      0








      0








      I am using User Private Groups on a CentOS7 server and I can't seem to get things quite working.



      Firstly the standard users seen to have a mask of 0022 and I am fairly sure it should be 002 for UPG.



      The user has /bin/sh set in its /etc/password and has a uid/gid 1017.



      The bit of /etc/profile setting umask is:



      UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
      umask 002
      else
      umask 022
      fi


      /usr/bin/id -gn <> /usr/bin/id -un



      But I quess this must be there for a reason. Not sure why this is here/if it is safe to remove.



      I am assuming here that proftpd is using the users umask as this seems consistent with what is happening. The new files FTPd to the server are u+rw, g+rw, o+r.



      So I think all I need to do is sort out umask for the user?









      share














      I am using User Private Groups on a CentOS7 server and I can't seem to get things quite working.



      Firstly the standard users seen to have a mask of 0022 and I am fairly sure it should be 002 for UPG.



      The user has /bin/sh set in its /etc/password and has a uid/gid 1017.



      The bit of /etc/profile setting umask is:



      UID -gt 199 ] && [ "`/usr/bin/id -gn`" = "`/usr/bin/id -un`" ]; then
      umask 002
      else
      umask 022
      fi


      /usr/bin/id -gn <> /usr/bin/id -un



      But I quess this must be there for a reason. Not sure why this is here/if it is safe to remove.



      I am assuming here that proftpd is using the users umask as this seems consistent with what is happening. The new files FTPd to the server are u+rw, g+rw, o+r.



      So I think all I need to do is sort out umask for the user?







      centos7 user-permissions proftpd





      share












      share










      share



      share










      asked 6 mins ago









      Ben EdwardsBen Edwards

      1




      1






















          0






          active

          oldest

          votes











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "2"
          };
          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%2fserverfault.com%2fquestions%2f959227%2fsetting-up-proftpd-users-for-user-perivate-groups%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes
















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Server Fault!


          • 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%2fserverfault.com%2fquestions%2f959227%2fsetting-up-proftpd-users-for-user-perivate-groups%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

          117736 Шеррод Примітки | Див. також | Посилання | Навігаційне...

          As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

          Маріан Котлеба Зміст Життєпис | Політичні погляди |...