On Sun, 2004-02-08 at 04:03 -0500, Andres Salomon wrote:
Hi Stas,
I was wondering about the status of ACL support for modperl2. The following two urls contain info and patches:
http://www.gossamer-threads.com/archive/mod_perl_C1/modperl_F7/%5BPATCH%5D_acl_support_P58252/ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=230439
However, I haven't seen any patches that have been verified to work w/ ACL setups, and don't break w/ non-ACL setups. Have you gotten any success reports on your patch?
Well, after reading the threads and getting my box setup with ext3fs ACLs, I was able to run basic tests with:
-e somefile
and
use filetest 'access'; -e somefile
And as far as I can tell, it works the way I expected it to in every case.
Cool. Does it work for Andres?
So I guess it would be safe to use filetest 'access' in ModPerl-Registry (at least on Linux), but I would worry about:
1. Other Uni*es and Win32
What about them?
2. ACL support in APR/httpd
Are you talking about internal C calls? I don't think it should affect these.
3. When was the filetest.pm module introduced in the Perl core ?
5.6.0. I don't know whether Leon will want to backport it to 5.005_04.
4. performance. from the filetest manpage:
There may be a slight performance decrease in the filetests when "use filetest" is in effect, because in some systems the extended function- ality needs to be emulated.
is there a generic way to check whether the fs is acl-enabled?
But, I'd be for using this if it doesn't causes false negatives for anybody. (A bit of a problem to write a portable test for it though)
if you get false negatives that's probably a bug in POSIX::access, no?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]