Library wish: rchown and rchmod

Gerhard Häring gh_pythonlist at gmx.de
Sun Sep 30 08:41:00 CEST 2001


On Sun, Sep 30, 2001 at 07:10:57AM +0200, Boyd Roberts wrote:
> "Gabriel Ambuehl" <gabriel_ambuehl at buz.ch> a écrit:
> > rchown and rchmod (recursive chown and recursive chmod) (I don't care
> > for the name but only for the functionality ;-).
> 
> i'd suggest something like ftw(3) and call 'em with that.

We already have os.path.walk. Though I'm anything but happy with this
interface. I normally build my recursive tree walking myself.

Other than that, I'd find the originally proposed functions useful.
That's something I often need on the shell.

Gerhard
-- 
mail:   gerhard <at> bigfoot <dot> de       registered Linux user #64239
web:    http://www.cs.fhm.edu/~ifw00065/    OpenPGP public key id 86AB43C0
public key fingerprint: DEC1 1D02 5743 1159 CD20  A4B6 7B22 6575 86AB 43C0
reduce(lambda x,y:x+y,map(lambda x:chr(ord(x)^42),tuple('zS^BED\nX_FOY\x0b')))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20010930/115dae40/attachment.pgp>


More information about the Python-list mailing list