Author Topic: 775 vs 777 perm.  (Read 8440 times)

espenk

  • Beginner
  • *
  • Posts: 18
    • Lerrett
775 vs 777 perm.
« on: April 24, 2008, 11:01:40 am »
What is the correct permission for the different folders?

775 or 777?

I can't find anything about this in the manuals. Everything work but I'm just thinking about security.

jay blaq

  • Beginner
  • *
  • Posts: 30
Re: 775 vs 777 perm.
« Reply #1 on: April 24, 2008, 11:05:54 am »
777 works on most servers for php4

755 must be used for some php5 servers


fw116

  • Jr. Member
  • **
  • Posts: 66
Re: 775 vs 777 perm.
« Reply #2 on: April 24, 2008, 12:48:32 pm »
NEVER set permissions to 777 on ANY unix / linux box !

you'll make your box WORLD writeable !

think about it!

espenk

  • Beginner
  • *
  • Posts: 18
    • Lerrett
Re: 775 vs 777 perm.
« Reply #3 on: April 24, 2008, 14:06:57 pm »
Ok, thanx. But when I'm using 775 there are some problems installing components. Any idea?

gregdev

  • Full Member
  • ***
  • Posts: 968
    • PlainlyCode
Re: 775 vs 777 perm.
« Reply #4 on: April 24, 2008, 15:05:05 pm »
fw116 is right. Although there are server scenarios where you might need to temporarily set your permissions to 777 to install components, etc,  you should always change the permissions back to something more restrictive immediately after installation. 777 is definitely not a setting you want to keep for very long. I always use the most restrictive settings I can, only changing to something less restrictive when required and only for the short time needed to make a change (which is never in my case).

It is helpful to talk with your web host about the proper permissions. Security is very important.

Greg

espenk

  • Beginner
  • *
  • Posts: 18
    • Lerrett
Re: 775 vs 777 perm.
« Reply #5 on: April 24, 2008, 15:08:38 pm »
Thank you. I will talk to them regarding this issue