directory permissions for site root folder

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
d4creative
Forum Members
Forum Members
Posts: 58
Joined: Mon Nov 01, 2010 10:40 pm

directory permissions for site root folder

Post by d4creative »

I have just experienced problems on my web server which I have not previously had.

My System Information came up with a number of "fails" for:
root_path
previews_path
uploads_path
image_uploads_path

All these directories had 750 permissions ( and I had not changed them, although my web host may have?). I have changed them to 777 and now the errors have gone.

Is it normal for the root_path (i.e. the httpdocs folder) to need 777 permissions? I don't think I have ever had to do that before with CMSMS.

----------------------------------------------

Cms Version: 1.11.4

Config Information:
php_memory_limit:
process_whole_template:
output_compression: false
max_upload_size: 8000000
url_rewriting: mod_rewrite
page_extension:
query_var: page
image_manipulation_prog: GD
auto_alias_content: true
locale:
default_encoding: utf-8
admin_encoding: utf-8
set_names: true

Php Information:
phpversion: 5.4.23
md5_function: On (True)
gd_version: 2
tempnam_function: On (True)
magic_quotes_runtime: Off (False)
E_STRICT: 0
E_DEPRECATED: 0
memory_limit: 128M
max_execution_time: 30
output_buffering: 4096
safe_mode: Off (False)
file_uploads: On (True)
post_max_size: 8M
upload_max_filesize: 8M
session_save_path: No check because open basedir active
session_use_cookies: On (True)
xml_function: On (True)
xmlreader_class: On (True)

Server Information:
Server Api: apache2handler
Server Db Type: MySQL (mysql)
Server Db Version: 5.5.28
Server Db Grants: Found a "GRANT ALL" statement that appears to be suitable

----------------------------------------------
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: directory permissions for site root folder

Post by Rolf »

Looks like your webhost upgraded PHP version and changed server with other settings causing these issues. Nothing CMSMS could inflict...
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
JohnnyB
Dev Team Member
Dev Team Member
Posts: 731
Joined: Tue Nov 21, 2006 5:05 pm

Re: directory permissions for site root folder

Post by JohnnyB »

Is it normal for the root_path (i.e. the httpdocs folder) to need 777 permissions? I don't think I have ever had to do that before with CMSMS.
Does 755 work with directories on your server? And, 644 for files?

I think if they are server PHP via the apache handler than you might need to give full write permissions, although it might not hurt to try with 0755 and 0644
"The art of life lies in a constant readjustment to our surroundings." -Okakura Kakuzo

--
LinkedIn profile
--
I only speak/write in English so I may not translate well on International posts.
--
Post Reply

Return to “The Lounge”