Forums / General Questions / How do I set directories to both writable and readable?

How do I set directories to both writable and readable?

Locked

Views: 808

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
16 Jan 2009, 9:48 AM
#1
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

How do I set directories to both writable and readable?

How do I set the following directories to writable and readable?

/cache
/pub
/images
/includes/ languages/english/html_includes
/admin/backups
/admin/ images/graphsIs 755 secure enough?

- Nothing is impossible. Some things are just less likely than others. -

16 Jan 2009, 11:44 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: How do I set directories to both writable and readable?

Depending on your host, you should be able to use your FTP program to set permissions. It'll be under 'Properties' or CHMOD if you right-click on the folder.

I set all those folders to 777 prior to installation, and leave them there.

16 Jan 2009, 1:26 PM
#3
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: How do I set directories to both writable and readable?

stevesh:

I set all those folders to 777 prior to installation, and leave them there.

I tend to do the same, and have not experienced security issues.

Directories are normally set to 755 and FILES inside them to 644.

If you do change the 777 to 755, then you may not be able to edit things like defined pages, etc, without changing their folder's permissions (/includes/ languages/english/html_includes) back to 777 first.

(levels of strictness with CHMOD are partly server configured, so much depends on these configs.)

17 Jan 2009, 1:27 AM
#4
miles avatar

miles

Zen Follower

Join Date:
Oct 2006
Location:
At Home
Posts:
357
Plugin Contributions:
0

Re: How do I set directories to both writable and readable?

OK, so I just leave them all set to 777.

I'm just little bit concern about the /images directory which has always been a target folder for hackers.

- Nothing is impossible. Some things are just less likely than others. -

17 Jan 2009, 1:33 AM
#5
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How do I set directories to both writable and readable?

OK, so I just leave them all set to 777
Is 755 secure enough?
If you host has SUEXEC & PHPSUEXEC installed -
Then 755 for dir's and 644 for files is the most secure.
There is no requirement to have any above 755 under this system
If you intend on editing the defines files set them to 755 - edit - set them back to 644.

Zen-Venom Get Bitten

17 Jan 2009, 2:06 AM
#6
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: How do I set directories to both writable and readable?

Follow the guidelines in your docs directory for security settings.

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.