Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QUESTION "0750 Not Writable - Error!" but everything seems to work fine
#1
I recursively set permissions on the whole installation to 750.  The health check says nothing is writable, but everything still works.  I can edit pages, create new pages, etc.

What is going on?
Reply
#2
That compares against gschmod in gsconfig, change it to match.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#3
(2017-06-12, 10:50:41)shawn_a Wrote: That compares against gschmod in gsconfig, change it to match.

I have this in gsconfig.php:
PHP Code:
define('GSCHMOD'750); 

There's no change, everything under Directory Permissions in the Website Health Check says "0750 Not Writable - Error!" except "/data/other/plugins.xml" which is OK.  I have run recursive chown and chmod operations on the entire webroot.
Reply
#4
(2017-06-12, 10:50:41)shawn_a Wrote: That compares against gschmod in gsconfig, change it to match.

I recall having problems with this kind of thing previously. I think the perms test is hardcoded in health-check.php, e.g., (line 166) <?php if( $me >= '0644' ) { echo '<span class="OKmsg" >' ... .

@skylarmt: It's only cosmetic – provided everything works, you can ignore the health-check results. It's really just diagnostics and GS doesn't use these results anywhere else.
--
Nick.
Reply
#5
(2017-06-12, 16:35:07)hameau Wrote: It's only cosmetic

That's what I figured.  Is there any reason for the code to not just use is_readable() and is_writable()?
Reply




Users browsing this thread: 1 Guest(s)