From: alex b. <en...@tu...> - 2001-10-06 18:12:07
|
> I responded to the file permissions mail, but the post seems to be lost in > eternity, so again: heh, see the message before this about reply-to > I like the idea, but we could make the whole thing a bit more > flexible/generic for example something like this: > I like it... though I'd keep the 'origina' perms format because it's so easy: both of these would be translated into find ... -exec commands, as so: find ${BC_PATH}/build/site_name/en/ -name '*.php' -type f -exec chmod u+rw,g+rw,a+r {} \; and find ${BC_PATH}/build/site_name/en/htdocs -type f -exec chmod -R u+rw,g+rw,a+r {} \; <fsperms> <file> <match>*.php</match> <perms> <user>rw</user> <group>rw</group> <all>r</all> </perms> </file> <location> <!-- this is the path from lang_code root in the build dir --> <path>htdocs/</path> <resursive>true</recursive> <perms> <user>rw</user> <group>rw</group> <all>r</all> </perms> </location> </fsperms> |