On 14 Jan 2008, at 12:03, Graeme Geldenhuys wrote:
A quick work-around for me would be to read the /etc/groups and /etc/passwd files looking for the Group ID or User ID and return the associated names. I can parse and keep a copy of those files in memory while the File Dialog is open - than way it should speed up the lookups as the user browses through directories. Does anybody know if unix type OS's allow normal (general) users to read those files from /etc?
Yes, but they they do not necessarily contain any useful information. The actually used information may be on an ldap server, in a netinfo database, on an NIS server, on a SAMBA server, on a Windows Domain Controller, ... That's the whole point of the plugin system used by libc.
Jonas _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal