Skip to content

Commit

Permalink
Item12952: Any store that writes files
Browse files Browse the repository at this point in the history
needs the option to override umask.  Sites running wit SuexecUserGroup
in apache get a umask of 077,  and apache is unable to read any
directory contents and pub access is blocked.
  • Loading branch information
gac410 committed Aug 30, 2014
1 parent 42a708e commit 6de4896
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions core/lib/Foswiki.spec
Original file line number Diff line number Diff line change
Expand Up @@ -1408,7 +1408,8 @@ $Foswiki::cfg{Store}{EgrepCmd} =
$Foswiki::cfg{Store}{FgrepCmd} =
'$Foswiki::cfg{_grepProgram} -F %CS{|-i}% %DET{|-l}% -H -- %TOKEN|U% %FILES|F%';
# **BOOLEAN EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation})"**
#---++ File system settings
# **BOOLEAN EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation}) || /Foswiki::Store::Plain/.test({Store}{Implementation})"**
# Some systems will override the default umask to a highly restricted setting,
# which will block the application of the file and directory permissions.
# If mod_suexec is enabled, the Apache umask directive will also be ignored.
Expand All @@ -1417,7 +1418,7 @@ $Foswiki::cfg{Store}{FgrepCmd} =
# {Store}{filePermission} to be consistent with the system umask.
$Foswiki::cfg{Store}{overrideUmask} = $FALSE;
# **OCTAL CHECK="min:000 max:7777" EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation})"**
# **OCTAL CHECK="min:000 max:7777" EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation}) || /Foswiki::Store::Plain/.test({Store}{Implementation})"**
# File security for new directories created by stores, only used by store
# implementations that create plain files. You may have
# to adjust these permissions to allow (or deny) users other than the
Expand All @@ -1426,7 +1427,7 @@ $Foswiki::cfg{Store}{overrideUmask} = $FALSE;
# representing the standard UNIX permissions (e.g. 755 == rwxr-xr-x)
$Foswiki::cfg{Store}{dirPermission} = 0755;
# **OCTAL CHECK="min:000 max:7777" EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation})"**
# **OCTAL CHECK="min:000 max:7777" EXPERT DISPLAY_IF="/Foswiki::Store::Rcs/.test({Store}{Implementation}) || /Foswiki::Store::Plain/.test({Store}{Implementation})"**
# File security for new directories created by stores, only used by store
# implementations that create plain files. You may have to adjust these
# permissions to allow (or deny) users other than the webserver user access
Expand Down

0 comments on commit 6de4896

Please sign in to comment.