andi wrote
This is not possible. Created files are owned by the user the creating process is running under.
While that is corrent, you can still manage to keep permissions for the group the files are owned by, by using the gid bit and therefore retain write/delete permissions for your user, see
http://www.dokuwiki.org/doku.php?id=install:permissions#tipusing_the_setgid_bit