stat()

Justin Hibbits jrh29 at alumni.cwru.edu
Sun Oct 30 11:46:49 EST 2005


I found a problem with requiring stat() to use a file descriptor.

open() only allows the given modes of access.  However, you don't need 
read/write/execute/delete/append or whatever permissions in order to stat a 
file in *NIX, and that would cause some problems if someone were to try to 
stat a file they have no permission to in a directory they can read.

We should rethink this.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://icculus.org/pipermail/lsd-devel/attachments/20051030/4d6c0f40/attachment.pgp>


More information about the Lsd-devel mailing list