Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Re: Re: Dangerous diamonds!

by Juerd (Abbot)
on May 21, 2003 at 17:29 UTC ( #259811=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Re: Dangerous diamonds!
in thread Dangerous diamonds!

Do you really need a glob to describe them or do they have well-defined names?

No. It's just laziness. I could opendir/readdir/closedir and use three-arg open. But I didn't, because I didn't know -p/-n used two-arg open.

I'll point out the easiest: make the logs directory writable only by root.

It already is, but one little bug in Apache could perhaps allow the names to be user-defined. After all, the logs are full of user input.

Anyhow, it *all* boils down to laziness. I could set up ACLs, of course. It's a matter of convenience. Usually this works out just fine. Too bad this time Perl didn't DWIM.

Juerd # { site => 'juerd.nl', plp_site => 'plp.juerd.nl', do_not_use => 'spamtrap' }


Comment on Re: Re: Re: Re: Dangerous diamonds!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://259811]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (6)
As of 2015-07-04 05:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls