[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: Coordination of admins/developers of the game programming library Allegro <alleg-developers@xxxxxxxxxx>
- Subject: Re: [AD] [4.3] New API?
- From: Elias Pschernig <elias@xxxxxxxxxx>
- Date: Wed, 23 Aug 2006 17:11:13 +0200
On Tue, 2006-08-22 at 07:45 -0600, Thomas Fjellstrom wrote:
> Ok. another question, how should allegro expose "stat"s uid/gid and umode
> items? Windows 9x has no real representation of uid/gid, and many of the
> umode parts, NT does things similarly to unix, but different enough that they
> don't quite fit.
>
> Should we then just not bother with anything but
> the "read/write/execute/hidden" bits? (no such thing as "system" files in
> unix afaik) and only for the running user?
When would it matter? I can think of some cases where you would want to
create a file with not the default flags, but this should probably be
dealt with by setting some driver specific config variables, e.g.:
set_config_int("/allegro/filesystem/umask", 0x777)
Then drivers who know about executable flags and owner/groups could use
that whenever a file is created.
--
Elias Pschernig