I am trying to install Prestashop and spoke with the technical support representative from BlueHost regarding questions I had on setting the file permissions to 777 as stated in the following installation instructions:

  • Are we really talking about file permissions? Or is this perhaps about a folder? – Daniel B May 29 '18 at 8:12
  • 1
    Isn't 666 even MORE dangerous? – JohnnyVegas May 29 '18 at 8:34
  • @JohnnyVegas speaking of the devil? – Gerard H. Pille May 29 '18 at 9:08
  • What instructions? It might be useful to see what exactly its suggesting so we can point you in the right direction in addition to saying "yes, its dangerous" – Journeyman Geek May 29 '18 at 10:15

Each '7' in 777 means 'read'+'write'+'execute'. First digit defines permissions for file ouwner, second digit is for group and last digit for everyone 'other'.

Let's assume the file belongs to 'root' (aka system administrator'). Last '7' permits anyone to modify this file. So any unprivileged user may write into it some program which when executed by 'root' will give administrative privileges to anyone.

It is definitely dangerous.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.