[dev] PATCH horde/lib/VFS/file.php

Mike Cochrane mike@graftonhall.co.nz
Tue, 6 Aug 2002 21:28:50 +0100


ARGH.... the VFS_File driver is getting further and further from being workable
on a win32 system....

- Mike :-)

Quoting Michael Varghese <mike.varghese@ascellatech.com>:

> Here's a small patch to fix the Owner/Group displays.
> 
> Index: horde/lib/VFS/file.php
> ===================================================================
> RCS file: /repository/horde/lib/VFS/file.php,v
> retrieving revision 1.16
> diff -r1.16 file.php
> 243c243,245
> <                     $file['owner'] = fileowner($entry);
> ---
> >                     $ownerID = fileowner($entry);
> >                     $owner = posix_getpwuid($ownerID);
> >                     $file['owner'] = $owner['name'];
> 246c248,250
> <                     $file['group'] = filegroup($entry);
> ---
> >                     $groupID = filegroup($entry);
> >                     $group = posix_getgrgid($groupID);
> >                     $file['group'] = $group['name'];
> 
> -mike
> 
> -- 
> Horde developers mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: dev-unsubscribe@lists.horde.org


--

-------------------------------------------------------------------------
This mail sent from Mike's CVS HEAD install of IMP: http://horde.org/imp/