-
- 5 Posts
These two files fail the write check on the pre-install validation page:
Checking if assets/cache/siteCache.idx.php file is writable: FAILED!
Checking if assets/cache/sitePublishing.idx.php file is writable: FAILED!
Here’s a list of the files showing their permissions:
-rw-rw-rw- 1 root root 9 2008-12-05 01:43 siteCache.idx.php
-rw-rw-rw- 1 root root 29 2008-12-05 01:43 sitePublishing.idx.php
Any ideas on why they will not verify??
-
- 970 Posts
I’m not sure but does that have anything to do with PHP’s safe mode restriction ?
-
- 4,205 Posts
I think that depending on how php is set up those need to be 777 to pass the test.
-
- 1,336 Posts
Check the perms on the cache directory, this will need to o+rw if its owned by root.
Use MODx, or the cat gets it!
-
- 5 Posts
No luck. I’ve tried setting everything to rw as well as 777. Also changing owner and group to the web user www-data. Still no luck. I turned on safe mode in the php.ini file, no luck. Any other ideas?
I generally have to run this for any install/upgrade (ran from modx root directory):
chmod 777 assets/cache assets/cache/siteCache.idx.php assets/cache/sitePublishing.idx.php assets/images assets/export
chmod 666 manager/includes/config.inc.php
And after the install:
rm -fR install
chmod 644 manager/includes/config.inc.php
Seems odd that with full permissions you’re still seeing the error...
Since MODx is accessing the file via Apace, will it be accessing the file via user nobody? Would a chown command fix things?
Permissions are one of those tricky things...