On 6 February 2011 Hans Hagen wrote:
> On 6-2-2011 3:56, Reinhard Kotucha wrote:
>
> > $ whoami
> > reinhard
> > $ ls -l /etc/passwd
> > -rw-r--r-- 1 root root 2269 Dec 19 14:57 /etc/passwd
> >
> > Your test suggests that the file is writable, but this is only true
> > for root, not for
On 6-2-2011 3:56, Reinhard Kotucha wrote:
$ whoami
reinhard
$ ls -l /etc/passwd
-rw-r--r-- 1 root root 2269 Dec 19 14:57 /etc/passwd
Your test suggests that the file is writable, but this is only true
for root, not for the user who is running the script. You actually
have to determine whether
On 6 February 2011 Hans Hagen wrote:
> On 5-2-2011 9:11, Reinhard Kotucha wrote:
>
> > In order to test whether a file is readable I currently open this
> > file in a protected call. This is also possible for directories
> > when I run lfs.dir() inside pcall(). It's not very elegant, and
On 5-2-2011 9:11, Reinhard Kotucha wrote:
In order to test whether a file is readable I currently open this file
in a protected call. This is also possible for directories when I run
lfs.dir() inside pcall(). It's not very elegant, and I still have
no idea how to test whether a file is writabl
On 02/05/2011 09:11 PM, Reinhard Kotucha wrote:
Hence, I think that a separate function lfs.access() makes more sense.
WDYT?
Sounds fine, I've put it on my todo list for 0.70
Best wishes,
Taco
___
dev-luatex mailing list
dev-luatex@ntg.nl
http://ww