Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2015-05-27 13:19:25

tedweitz
Member
Registered: 2015-03-08
Posts: 19

File directory path is not writable: files I can not edit a file

Hi

I have a strange behavior on my site. I can not edit just one old post, I can edit the other posts and I can post a new one but this one old article will not save and give me a permission warning.

When I run the diagnostics I get

File directory path is not writable: files

I have all the permissions at 755 I tried to change the files folder to 777 that did not change the diagnostics or the ability to edit this one file.

When trying to save the edited file I get this:

The page you are trying to access is restricted due to a security rule.

If you believe the security rule is affecting the normal operation of your website, contact your host support team and provide detailed instructions how to recreate this error.
They will be able to assist you with rectifying the problem and adjusting the security configuration if needed.”

Here is the diagnosis run:

Textpattern version: 4.5.7 (r5900)
Last update: 2015-03-08 17:56:37/2015-03-08 17:11:00
Document root: /home/tedweitz/public_html
$path_to_site: /home/tedweitz/public_html
Textpattern path: /home/tedweitz/public_html/textpattern
Permanent link mode: section_title
Temporary directory path: tmp
Site URL: tedweitz.com
PHP version: 5.5.24
GD Graphics Library: bundled (2.1.0 compatible); supported formats: GIF, JPG, PNG.
Server TZ: America/Chicago
Server local time: 2015-05-27 07:25:07
DST enabled?: 1
Automatically adjust DST setting?: 1
Time zone:  (-18000)
MySQL: 5.5.32-31.0-log
Locale: en_US.UTF-8
Server: Apache
PHP server API: cgi-fcgi
RFC 2616 headers: 0
Server OS: Linux 2.6.32.59-sg3
Active plugins: glx_image-0.7, rss_thumbpop-0.5.3m, dca_pop-0.1m, ako_nav-0.9.1m, rss_live_search-0.5, smd_slimbox-0.11, glx_admin_image-0.5b, nhn_image_import-0.1m, upm_img_popper-1.3.3, ebl_BatchUpload-1.04, rss_admin_db_manager-4.3m
Admin-side theme: classic 4.5.7

Pre-flight check: 
------------------------
File directory path is not writable: files
------------------------

<code>.htaccess</code> file contents: 
------------------------
#DirectoryIndex index.php index.html

#Options +FollowSymLinks
#Options -Indexes
#ErrorDocument 403 default

<IfModule mod_rewrite.c>
	RewriteEngine On
	#RewriteBase /relative/web/path/

	RewriteCond %{REQUEST_FILENAME} -f [OR]
	RewriteCond %{REQUEST_FILENAME} -d
	RewriteRule ^(.+) - [PT,L]

	RewriteCond %{REQUEST_URI} !=/favicon.ico
	RewriteRule ^(.*) index.php

	RewriteCond %{HTTP:Authorization}  !^$
	RewriteRule .* - [E=REMOTE_USER:%{HTTP:Authorization}]
</IfModule>

#php_value register_globals 0

# SVG
AddType image/svg+xml  svg svgz
AddEncoding gzip       svgz

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

Moderator’s annotation:
Edited to add formatting.
– Uli –

Last edited by uli (2015-05-27 14:10:11)

Offline

#2 2015-05-27 14:13:09

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,137
GitHub

Re: File directory path is not writable: files I can not edit a file

Hey Ted – welcome back.

Try adding this to your .htaccess file:

<IfModule mod_security.c>
SecRuleEngine Off
SecFilterInheritance Off
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

Does that help?

Offline

Board footer

Powered by FluxBB