On 09/02/2010 10:53 AM, James Corteciano wrote:
I noticed when the apache created a new files (fileB) / directories
(dirB), the ownership becomes 'apache:apache' and the sgid has gone for
/webdir/ (drwxrwxr-x). I'm currently using Wordpress.
I am almost certain this has something to do with Wordpress itself...
You might want to investigate its code:
========
[vimal@server public_html]$ grep chgrp * -r
wp-admin/includes/class-wp-filesystem-ftpsockets.php: function
chgrp($file, $group, $recursive = false ) {
wp-admin/includes/class-wp-filesystem-ftpsockets.php: function
mkdir($path, $chmod = false, $chown = false, $chgrp = false ) {
wp-admin/includes/class-wp-filesystem-ftpsockets.php: if ( $chgrp )
wp-admin/includes/class-wp-filesystem-ftpsockets.php:
$this->chgrp($path, $chgrp);
wp-admin/includes/class-wp-filesystem-ssh2.php: function chgrp($file,
$group, $recursive = false ) {
wp-admin/includes/class-wp-filesystem-ssh2.php: return
$this->run_command(sprintf('chgrp %o %s', $mode, escapeshellarg($file)),
true);
wp-admin/includes/class-wp-filesystem-ssh2.php: return
$this->run_command(sprintf('chgrp -R %o %s', $mode,
escapeshellarg($file)), true);
wp-admin/includes/class-wp-filesystem-ssh2.php: function mkdir($path,
$chmod = false, $chown = false, $chgrp = false) {
wp-admin/includes/class-wp-filesystem-ssh2.php: if ( $chgrp )
wp-admin/includes/class-wp-filesystem-ssh2.php:
$this->chgrp($path, $chgrp);
wp-admin/includes/class-wp-filesystem-ftpext.php: function
chgrp($file, $group, $recursive = false ) {
wp-admin/includes/class-wp-filesystem-ftpext.php: function
mkdir($path, $chmod = false, $chown = false, $chgrp = false) {
wp-admin/includes/class-wp-filesystem-ftpext.php: if ( $chgrp )
wp-admin/includes/class-wp-filesystem-ftpext.php:
$this->chgrp($path, $chgrp);
wp-admin/includes/class-wp-filesystem-direct.php: function
chgrp($file, $group, $recursive = false) {
wp-admin/includes/class-wp-filesystem-direct.php: return
@chgrp($file, $group);
wp-admin/includes/class-wp-filesystem-direct.php: return
@chgrp($file, $group);
wp-admin/includes/class-wp-filesystem-direct.php:
$this->chgrp($file . $filename, $group, $recursive);
wp-admin/includes/class-wp-filesystem-direct.php: function
mkdir($path, $chmod = false, $chown = false, $chgrp = false) {
wp-admin/includes/class-wp-filesystem-direct.php: if ( $chgrp )
wp-admin/includes/class-wp-filesystem-direct.php:
$this->chgrp($path, $chgrp);
========
--
Regards,
Vimal Kumar K
| vimalZworld.com * technomenace.com * twitter.com/vimal7370 |
| E: vimal7370 at gmail dot com P: +919947450760 |
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list