lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Jürgen Hötzel <juergen@hoetzel.info> writes:

> On Fri, Aug 24, 2007 at 06:21:27PM +0200, David Kastrup wrote:
>> 
>> dak@lisa:/rep/emacs$ lua
>> Lua 5.1.1  Copyright (C) 1994-2006 Lua.org, PUC-Rio
>> > lfs=require("lfs");
>> > for i,v in pairs(lfs.attributes(".")) do print(i,v) end
>> dev     65024
>> change  1187946230
>> access  1187970537
>> rdev    0
>> nlink   20
>> blksize 4096
>> uid     1001
>> blocks  8
>> gid     1001
>> ino     42116897
>> mode    directory
>> modification    1187946230
>> size    4096
>> >
>> 
>> Uh, where are the permissions?  A lot less important information is
>> given.
>
> Just the type of a file is returned (mode directory) in the current
> release of LuaFileSystem.

Considering the painstaking detail and completeness in the other
entries, this looks more like an oversight than a conscious design
decision to me.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum