Why 644 permission for files?Permission denied as rootPHP mkdir() permission deniedLinux group and permission...

Why can Carol Danvers change her suit colours in the first place?

Store Credit Card Information in Password Manager?

Redundant comparison & "if" before assignment

Can I say "fingers" when referring to toes?

What if a revenant (monster) gains fire resistance?

Do the primes contain an infinite almost arithmetic progression?

Calculating total slots

Creepy dinosaur pc game identification

Are Captain Marvel's powers affected by Thanos' actions in Infinity War

Can a stoichiometric mixture of oxygen and methane exist as a liquid at standard pressure and some (low) temperature?

Can a College of Swords bard use a Blade Flourish option on an opportunity attack provoked by their own Dissonant Whispers spell?

Non-trope happy ending?

How should I respond when I lied about my education and the company finds out through background check?

What should you do when eye contact makes your subordinate uncomfortable?

How much character growth crosses the line into breaking the character

Is this toilet slogan correct usage of the English language?

Pre-mixing cryogenic fuels and using only one fuel tank

Did arcade monitors have same pixel aspect ratio as TV sets?

How do you make your own symbol when Detexify fails?

Electoral considerations aside, what are potential benefits, for the US, of policy changes proposed by the tweet recognizing Golan annexation?

What does chmod -u do?

How do apertures which seem too large to physically fit work?

Fear of getting stuck on one programming language / technology that is not used in my country

Lowest total scrabble score



Why 644 permission for files?


Permission denied as rootPHP mkdir() permission deniedLinux group and permission - why I can't access a folder I already have permission to?apache wont follow symlinks | 403 permission deniedPermission Denied in CrontabHow can I enable arbitrary users to edit files in '/opt' sub-tree?How to create linux user with only and only READ permission not EXECUTE and WRITE permission?Files can still be modified even after setting ''Read-only'' permission by ICACLS. Why is it not working?Linux file permission issue for AD Domain usersWhy does Windows say I need permission to delete files













0















I don't want to show the website files to other users in the machine . But why it's said that 644 permission for files is okay. other user can read my file and can get many information from the code ( say PHP scripts | there are database information as well in the scripts ).









share







New contributor




sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I don't want to show the website files to other users in the machine . But why it's said that 644 permission for files is okay. other user can read my file and can get many information from the code ( say PHP scripts | there are database information as well in the scripts ).









    share







    New contributor




    sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I don't want to show the website files to other users in the machine . But why it's said that 644 permission for files is okay. other user can read my file and can get many information from the code ( say PHP scripts | there are database information as well in the scripts ).









      share







      New contributor




      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I don't want to show the website files to other users in the machine . But why it's said that 644 permission for files is okay. other user can read my file and can get many information from the code ( say PHP scripts | there are database information as well in the scripts ).







      linux permissions





      share







      New contributor




      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share







      New contributor




      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share



      share






      New contributor




      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 8 mins ago









      sabbirsabbir

      1




      1




      New contributor




      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      sabbir is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          The general rule is that files served by a web service should not be writeable by the user the web service is running under. That's why the 644 or 640 permission is necessary.



          If you want to restrict other users from reading your files, use the 640 permission with the group ownership set to the group under which the web service is running.





          share








          New contributor




          ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            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
            });


            }
            });






            sabbir is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1416544%2fwhy-644-permission-for-files%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














            The general rule is that files served by a web service should not be writeable by the user the web service is running under. That's why the 644 or 640 permission is necessary.



            If you want to restrict other users from reading your files, use the 640 permission with the group ownership set to the group under which the web service is running.





            share








            New contributor




            ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              The general rule is that files served by a web service should not be writeable by the user the web service is running under. That's why the 644 or 640 permission is necessary.



              If you want to restrict other users from reading your files, use the 640 permission with the group ownership set to the group under which the web service is running.





              share








              New contributor




              ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                The general rule is that files served by a web service should not be writeable by the user the web service is running under. That's why the 644 or 640 permission is necessary.



                If you want to restrict other users from reading your files, use the 640 permission with the group ownership set to the group under which the web service is running.





                share








                New contributor




                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                The general rule is that files served by a web service should not be writeable by the user the web service is running under. That's why the 644 or 640 permission is necessary.



                If you want to restrict other users from reading your files, use the 640 permission with the group ownership set to the group under which the web service is running.






                share








                New contributor




                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.








                share


                share






                New contributor




                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 2 mins ago









                ExtraTExtraT

                1011




                1011




                New contributor




                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                ExtraT is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






















                    sabbir is a new contributor. Be nice, and check out our Code of Conduct.










                    draft saved

                    draft discarded


















                    sabbir is a new contributor. Be nice, and check out our Code of Conduct.













                    sabbir is a new contributor. Be nice, and check out our Code of Conduct.












                    sabbir is a new contributor. Be nice, and check out our Code of Conduct.
















                    Thanks for contributing an answer to Super User!


                    • 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%2fsuperuser.com%2fquestions%2f1416544%2fwhy-644-permission-for-files%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

                    Why not use the yoke to control yaw, as well as pitch and roll? Announcing the arrival of...

                    Couldn't open a raw socket. Error: Permission denied (13) (nmap)Is it possible to run networking commands...

                    VNC viewer RFB protocol error: bad desktop size 0x0I Cannot Type the Key 'd' (lowercase) in VNC Viewer...