lua-users home
lua-l archive

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


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. 

Jürgen