Linux AWS Lightsail Server: How do I change folder permissions for a specific user?

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











up vote
0
down vote

favorite












I'm new to AWS and Lightsail. I'm trying to run the following php function, but it isn't working and I believe it is because of specific user permissions for the folder(s). I'm not a developer or sysAdmin, I'm more of a weekend warrior type.



PHP Function - file_put_contents()
PHP User - daemon



This is the path I'm trying to update user permissions on. Can someone please explain what I need to do to make sure the folders in this path have r and x permissions for the daemon user?



/opt/bitnami/apache2/htdocs/images/fileName.jpg


Thanks for your help!
Todd







share|improve this question























    up vote
    0
    down vote

    favorite












    I'm new to AWS and Lightsail. I'm trying to run the following php function, but it isn't working and I believe it is because of specific user permissions for the folder(s). I'm not a developer or sysAdmin, I'm more of a weekend warrior type.



    PHP Function - file_put_contents()
    PHP User - daemon



    This is the path I'm trying to update user permissions on. Can someone please explain what I need to do to make sure the folders in this path have r and x permissions for the daemon user?



    /opt/bitnami/apache2/htdocs/images/fileName.jpg


    Thanks for your help!
    Todd







    share|improve this question





















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I'm new to AWS and Lightsail. I'm trying to run the following php function, but it isn't working and I believe it is because of specific user permissions for the folder(s). I'm not a developer or sysAdmin, I'm more of a weekend warrior type.



      PHP Function - file_put_contents()
      PHP User - daemon



      This is the path I'm trying to update user permissions on. Can someone please explain what I need to do to make sure the folders in this path have r and x permissions for the daemon user?



      /opt/bitnami/apache2/htdocs/images/fileName.jpg


      Thanks for your help!
      Todd







      share|improve this question











      I'm new to AWS and Lightsail. I'm trying to run the following php function, but it isn't working and I believe it is because of specific user permissions for the folder(s). I'm not a developer or sysAdmin, I'm more of a weekend warrior type.



      PHP Function - file_put_contents()
      PHP User - daemon



      This is the path I'm trying to update user permissions on. Can someone please explain what I need to do to make sure the folders in this path have r and x permissions for the daemon user?



      /opt/bitnami/apache2/htdocs/images/fileName.jpg


      Thanks for your help!
      Todd









      share|improve this question










      share|improve this question




      share|improve this question









      asked May 18 at 18:35









      Mr. B

      1012




      1012

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          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: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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%2funix.stackexchange.com%2fquestions%2f444679%2flinux-aws-lightsail-server-how-do-i-change-folder-permissions-for-a-specific-us%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%2funix.stackexchange.com%2fquestions%2f444679%2flinux-aws-lightsail-server-how-do-i-change-folder-permissions-for-a-specific-us%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          Peggy Mitchell

          Palaiologos

          The Forum (Inglewood, California)