File: phpbb/filesystem/filesystem.php
Unmodified
Added
Modified
Removed
Line 398 | Line 398 |
---|
$file_gid = @filegroup($file);
// Change owner
|
$file_gid = @filegroup($file);
// Change owner
|
if ($file_uid !== $this->chmod_info['common_owner'])
| if (is_writable($file) && $file_uid !== $this->chmod_info['common_owner'])
|
{ $this->chown($file, $this->chmod_info['common_owner'], $recursive); }
// Change group
|
{ $this->chown($file, $this->chmod_info['common_owner'], $recursive); }
// Change group
|
if ($file_gid !== $this->chmod_info['common_group'])
| if (is_writable($file) && $file_gid !== $this->chmod_info['common_group'])
|
{ $this->chgrp($file, $this->chmod_info['common_group'], $recursive); }
| { $this->chgrp($file, $this->chmod_info['common_group'], $recursive); }
|