good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Beware of 7 on dirs! [Re: chmod 775 on all files]by bronto (Priest) |
on Jul 30, 2003 at 10:57 UTC ( [id://279137]=note: print w/replies, xml ) | Need Help?? |
Beware that giving 775 to a directory could allow members of the group owner to add and delete files into it! You don't seem to care, since you give full access to your files by the group owner (why?), but I think it's not advisable. I'd better use find than File::Find, and do at least a:
This way group owner's people can still have full access to files, but, for example, can't add files in a directory of yours, which is preferrable IMHO Ciao! The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
In Section
Seekers of Perl Wisdom
|
|