Actually this is a great idea. I wanted such a function a long-time ago for an "ftp" server that I wrote. The server had to run as root but create files as if it were a specific user. I believe somebody from Stanford posted a query to Unix-Wizards about this same subject some time ago. -- = lee at rochester rochester!lee =