Re: [htmltmpl] HTML::Template and filesystem ACL's
Brought to you by:
samtregar
From: <sa...@es...> - 2004-07-30 00:21:16
|
Sam Tregar wrote: > On Fri, 30 Jul 2004, Aleksey Serba wrote: > >> >>>> The reason is "-r $filename" expression - it doesn't work with ACL. >> ST> Really? Why not? >> See test in the bottom of my message > > I don't have a system with "ACL", whatever that is, ACL are Access Control Lists. They are available with most filesystems=20= under Linux (Ext3, ReiserFS, XFS) as well as under Solaris, IRIX, etc. > so I can't run > your test. Maybe you should post a message on http://perlmonks.org? > If you can find out how to fix Perl so that -r works with ACLs then > you'll be able to use HTML::Template. perlfunc recommends to C<use filetest 'access';> for better results=20 when running on a filesystem with ACL support. The filetest pragma=20 seems to be available since Perl 5.6. But IIRC, the Cookbook recommended to forget all the -X tests (where X=20= =3D~ /[rwxo]/i) and simply open() the file then test after the error = code. S=E9bastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO= |