lua-users home
lua-l archive

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


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.

-- 
David Kastrup