|
From: Andreas A. <a.a...@th...> - 2001-10-06 12:35:03
|
Hi Alex,
I responded to the file permissions mail, but the post seems to be lost in
eternity, so again:
I like the idea, but we could make the whole thing a bit more
flexible/generic for example something like this:
<location>
<name>htdocs</name>
<path>BC_PATH_HTDOCS</path>
<mask>022</mask>
<recrusive>true</recursive>
<classes>
<phpfiles />
<shfiles />
</classes>
</location>
then the classes
<class>
<name>phpfiles</name>
<filematch>*.php</filematch>
<filemode>644</filemode>
<dirmatch>*</dirmatch>
<dirmode>770</dirmode>
</class>
<class>
<name>shfiles</name>
<filematch>*.sh</filematch>
<filemode>u=rwx,g=rx,o=rx</filemode>
<dirmatch>*</dirmatch>
<dirmode>770</dirmode>
</class>
What do you think? To complicated, I guess ;-)
BTW: I attached the scripts I currently use for setting permissions (example
only, not for the bc tree).
Andi
|