Silverstripe and problem with group and user

remikk

Verified User
Joined
Apr 30, 2008
Messages
158
Location
Poland
Hi

I have a problem with one domain in my client where is installed SilverStripe.
When user create folder by this script and upload files then this folder change user and group for apache:apache, should be user:user. I try to understand why but I couldn't.
All files changed for user and group user:user.
In main folder this domain is file .htaccess with:
Code:
### SILVERSTRIPE START ###
<IfModule mod_dir.c>
DirectorySlash Off
</IfModule>

<Files *.ss>
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Files>

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_URI} !(\.gif)|(\.jpg)|(\.png)|(\.css)|(\.js)|(\.php)$

RewriteCond %{REQUEST_URI} ^(.*)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* sapphire/main.php?url=%1&%{QUERY_STRING} [L]
</IfModule>
### SILVERSTRIPE END ###

but i don't see problem with this.
 
Last edited:
When you create anything with the webserver its gonna be owned by the user/group that created it.
 
Only on this script. Joomla and others work OK. I don't know it is for all folders which created by Silverstripe.
 
I check again and when I upload by Joomla some file then I have the same situation. What happend ?
 
Last edited:
Back
Top